* 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>
cleanup:
if (dstkey != NULL)
- dns_key_free(&dstkey);
+ dst_key_free(&dstkey);
if (view != NULL)
dns_view_detach(&view);
if (secroots != NULL)
* 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>
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);