mirror of
https://gitlab.isc.org/isc-projects/bind9
synced 2025-09-02 07:35:26 +00:00
s/dns_key_free/dst_key_free/
This commit is contained in:
@@ -14,7 +14,7 @@
|
||||
* PERFORMANCE OF THIS SOFTWARE.
|
||||
*/
|
||||
|
||||
/* $Id: client.c,v 1.11 2010/12/02 23:22:41 marka Exp $ */
|
||||
/* $Id: client.c,v 1.12 2010/12/03 12:03:22 marka Exp $ */
|
||||
|
||||
#include <config.h>
|
||||
|
||||
@@ -1425,7 +1425,7 @@ dns_client_addtrustedkey(dns_client_t *client, dns_rdataclass_t rdclass,
|
||||
|
||||
cleanup:
|
||||
if (dstkey != NULL)
|
||||
dns_key_free(&dstkey);
|
||||
dst_key_free(&dstkey);
|
||||
if (view != NULL)
|
||||
dns_view_detach(&view);
|
||||
if (secroots != NULL)
|
||||
|
@@ -14,7 +14,7 @@
|
||||
* PERFORMANCE OF THIS SOFTWARE.
|
||||
*/
|
||||
|
||||
/* $Id: sample-update.c,v 1.7 2010/12/02 23:46:56 tbox Exp $ */
|
||||
/* $Id: sample-update.c,v 1.8 2010/12/03 12:03:22 marka Exp $ */
|
||||
|
||||
#include <config.h>
|
||||
|
||||
@@ -747,7 +747,7 @@ setup_tsec(char *keyfile, isc_mem_t *mctx) {
|
||||
|
||||
result = dns_tsec_create(mctx, tsectype, dstkey, &tsec);
|
||||
if (result != ISC_R_SUCCESS) {
|
||||
dns_key_free(&dstkey);
|
||||
dst_key_free(&dstkey);
|
||||
fprintf(stderr, "could not create tsec: %s\n",
|
||||
isc_result_totext(result));
|
||||
exit(1);
|
||||
|
Reference in New Issue
Block a user