mirror of
https://github.com/isc-projects/bind9.git
synced 2026-04-20 21:58:03 -04:00
s/dns_key_free/dst_key_free/
This commit is contained in:
parent
7a7c5c129c
commit
cc83084441
2 changed files with 4 additions and 4 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Reference in a new issue