From: Mark Andrews Date: Fri, 21 Feb 2020 07:10:44 +0000 (+1100) Subject: fixup! Fix code to generate the test signatues. X-Git-Tag: v9.11.17~21^2 X-Git-Url: http://git.ipfire.org/gitweb/?a=commitdiff_plain;h=4ecf3b89615d5938282a3c351b44e38480580eca;p=thirdparty%2Fbind9.git fixup! Fix code to generate the test signatues. --- diff --git a/lib/dns/tests/dst_test.c b/lib/dns/tests/dst_test.c index d21c5ade053..8e943cd73f4 100644 --- a/lib/dns/tests/dst_test.c +++ b/lib/dns/tests/dst_test.c @@ -26,6 +26,7 @@ #include #include +#include #include #include #include @@ -218,8 +219,9 @@ check_sig(const char *datapath, const char *sigpath, const char *keyname, isc_result_t result2; dst_context_destroy(&ctx); - result2 = dst_context_create( - key, dt_mctx, DNS_LOGCATEGORY_GENERAL, false, 0, &ctx); + result2 = dst_context_create3(key, mctx, + DNS_LOGCATEGORY_GENERAL, false, + &ctx); assert_int_equal(result2, ISC_R_SUCCESS); result2 = dst_context_adddata(ctx, &datareg);