mirror of
https://gitlab.isc.org/isc-projects/bind9
synced 2025-08-31 14:35:26 +00:00
2976. [bug] named die on exit after negotiating a GSS-TSIG key. [RT #3415]
This commit is contained in:
@@ -14,7 +14,7 @@
|
||||
* PERFORMANCE OF THIS SOFTWARE.
|
||||
*/
|
||||
|
||||
/* $Id: sample-update.c,v 1.5 2009/09/29 15:06:07 fdupont Exp $ */
|
||||
/* $Id: sample-update.c,v 1.6 2010/12/02 23:22:42 marka Exp $ */
|
||||
|
||||
#include <config.h>
|
||||
|
||||
@@ -747,6 +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);
|
||||
fprintf(stderr, "could not create tsec: %s\n",
|
||||
isc_result_totext(result));
|
||||
exit(1);
|
||||
|
Reference in New Issue
Block a user