mirror of
https://gitlab.isc.org/isc-projects/bind9
synced 2025-08-29 21:47:59 +00:00
keytable depends on openssl/pkcs11
This commit is contained in:
parent
93d4128dcd
commit
6fc3efb93f
@ -23,6 +23,8 @@
|
|||||||
#include <unistd.h>
|
#include <unistd.h>
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
|
|
||||||
|
#if defined(OPENSSL) || defined(PKCS11CRYPTO)
|
||||||
|
|
||||||
#include <isc/base64.h>
|
#include <isc/base64.h>
|
||||||
#include <isc/buffer.h>
|
#include <isc/buffer.h>
|
||||||
#include <isc/util.h>
|
#include <isc/util.h>
|
||||||
@ -582,10 +584,24 @@ ATF_TC_BODY(nta, tc) {
|
|||||||
dns_test_end();
|
dns_test_end();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#else
|
||||||
|
#include <isc/util.h>
|
||||||
|
|
||||||
|
ATF_TC(untested);
|
||||||
|
ATF_TC_HEAD(untested, tc) {
|
||||||
|
atf_tc_set_md_var(tc, "descr", "skipping keytable test");
|
||||||
|
}
|
||||||
|
ATF_TC_BODY(untested, tc) {
|
||||||
|
UNUSED(tc);
|
||||||
|
atf_tc_skip("DNSSEC not available");
|
||||||
|
}
|
||||||
|
#endif
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Main
|
* Main
|
||||||
*/
|
*/
|
||||||
ATF_TP_ADD_TCS(tp) {
|
ATF_TP_ADD_TCS(tp) {
|
||||||
|
#if defined(OPENSSL) || defined(PKCS11CRYPTO)
|
||||||
ATF_TP_ADD_TC(tp, add);
|
ATF_TP_ADD_TC(tp, add);
|
||||||
ATF_TP_ADD_TC(tp, delete);
|
ATF_TP_ADD_TC(tp, delete);
|
||||||
ATF_TP_ADD_TC(tp, deletekeynode);
|
ATF_TP_ADD_TC(tp, deletekeynode);
|
||||||
@ -593,6 +609,9 @@ ATF_TP_ADD_TCS(tp) {
|
|||||||
ATF_TP_ADD_TC(tp, issecuredomain);
|
ATF_TP_ADD_TC(tp, issecuredomain);
|
||||||
ATF_TP_ADD_TC(tp, dump);
|
ATF_TP_ADD_TC(tp, dump);
|
||||||
ATF_TP_ADD_TC(tp, nta);
|
ATF_TP_ADD_TC(tp, nta);
|
||||||
|
#else
|
||||||
|
ATF_TP_ADD_TC(tp, untested);
|
||||||
|
#endif
|
||||||
|
|
||||||
return (atf_no_error());
|
return (atf_no_error());
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user