]> git.ipfire.org Git - thirdparty/bind9.git/commitdiff
s/dns_key_free/dst_key_free/
authorMark Andrews <marka@isc.org>
Fri, 3 Dec 2010 12:04:24 +0000 (12:04 +0000)
committerMark Andrews <marka@isc.org>
Fri, 3 Dec 2010 12:04:24 +0000 (12:04 +0000)
lib/dns/client.c
lib/export/samples/sample-update.c

index eb337c724cbf0600c221c7392e084fe647d07a0c..6a3c0ffd661e001885522646c2af7fc30762accf 100644 (file)
@@ -14,7 +14,7 @@
  * PERFORMANCE OF THIS SOFTWARE.
  */
 
-/* $Id: client.c,v 1.6.32.5 2010/12/02 23:26:57 marka Exp $ */
+/* $Id: client.c,v 1.6.32.6 2010/12/03 12:04:24 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)
index 0e0dba46335e31b676c851e4b0202a42bbd02e9f..f6e812d3e0df747f38dfc5ea7975da73c821e971 100644 (file)
@@ -14,7 +14,7 @@
  * PERFORMANCE OF THIS SOFTWARE.
  */
 
-/* $Id: sample-update.c,v 1.5.66.2 2010/12/02 23:46:30 tbox Exp $ */
+/* $Id: sample-update.c,v 1.5.66.3 2010/12/03 12:04:24 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);