2
0
mirror of https://gitlab.isc.org/isc-projects/bind9 synced 2025-09-02 15:45:25 +00:00

s/dns_key_free/dst_key_free/

This commit is contained in:
Mark Andrews
2010-12-03 12:03:22 +00:00
parent 7a7c5c129c
commit cc83084441
2 changed files with 4 additions and 4 deletions

View File

@@ -14,7 +14,7 @@
* PERFORMANCE OF THIS SOFTWARE. * 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> #include <config.h>
@@ -1425,7 +1425,7 @@ dns_client_addtrustedkey(dns_client_t *client, dns_rdataclass_t rdclass,
cleanup: cleanup:
if (dstkey != NULL) if (dstkey != NULL)
dns_key_free(&dstkey); dst_key_free(&dstkey);
if (view != NULL) if (view != NULL)
dns_view_detach(&view); dns_view_detach(&view);
if (secroots != NULL) if (secroots != NULL)

View File

@@ -14,7 +14,7 @@
* PERFORMANCE OF THIS SOFTWARE. * 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> #include <config.h>
@@ -747,7 +747,7 @@ setup_tsec(char *keyfile, isc_mem_t *mctx) {
result = dns_tsec_create(mctx, tsectype, dstkey, &tsec); result = dns_tsec_create(mctx, tsectype, dstkey, &tsec);
if (result != ISC_R_SUCCESS) { if (result != ISC_R_SUCCESS) {
dns_key_free(&dstkey); dst_key_free(&dstkey);
fprintf(stderr, "could not create tsec: %s\n", fprintf(stderr, "could not create tsec: %s\n",
isc_result_totext(result)); isc_result_totext(result));
exit(1); exit(1);