]> 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:03:22 +0000 (12:03 +0000)
committerMark Andrews <marka@isc.org>
Fri, 3 Dec 2010 12:03:22 +0000 (12:03 +0000)
lib/dns/client.c
lib/export/samples/sample-update.c

index 8913c8e503721bb10c529ff3e3f8539a1101cea6..644b7ee2633a7b10f1efd2c0f929fd74cd15f6b3 100644 (file)
@@ -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)
index a24a29dd5e4abc0bc4f97825eac7a8c6d780a2d6..62fcb26b944f442df409911a0ab0ac8362f4dbe4 100644 (file)
@@ -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);