summaryrefslogtreecommitdiff
path: root/minires/res_sendsigned.c
diff options
context:
space:
mode:
Diffstat (limited to 'minires/res_sendsigned.c')
-rw-r--r--minires/res_sendsigned.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/minires/res_sendsigned.c b/minires/res_sendsigned.c
index 3ed456d0..be213afe 100644
--- a/minires/res_sendsigned.c
+++ b/minires/res_sendsigned.c
@@ -15,7 +15,7 @@
#include "minires/minires.h"
#include "arpa/nameser.h"
-#include <isc/dst.h>
+#include <isc-dhcp/dst.h>
/* res_nsendsigned */
isc_result_t
@@ -59,7 +59,7 @@ res_nsendsigned(res_state statp,
if (dstkey == NULL) {
free(nstatp);
free(newmsg);
- return ISC_R_INVALIDARG;
+ return ISC_R_BADKEY;
}
nstatp->nscount = 1;