diff options
author | Jung-uk Kim <jkim@FreeBSD.org> | 2020-11-04 22:41:54 +0000 |
---|---|---|
committer | Jung-uk Kim <jkim@FreeBSD.org> | 2020-11-04 22:41:54 +0000 |
commit | 8f02e2ac27a1f85939ec9762bf2678303552ecfc (patch) | |
tree | 580b392e2f61e6e3cc97b2a8b75c53e755e75886 /tests/sys/opencrypto/poly1305_test.c | |
parent | 2ceb17a8bed808bb2d14fe5bff1d3eca21598531 (diff) | |
download | src-test2-8f02e2ac27a1f85939ec9762bf2678303552ecfc.tar.gz src-test2-8f02e2ac27a1f85939ec9762bf2678303552ecfc.zip |
Make the tests work without COMPAT_FREEBSD12 in kernel.
sysctl 'kern.cryptodevallowsoft' was renamed to 'kern.crypto.allow_soft' in
r359374 and the prevous one is only available in kernel built with
"options COMPAT_FREEBSD12".
Notes
Notes:
svn path=/head/; revision=367351
Diffstat (limited to 'tests/sys/opencrypto/poly1305_test.c')
-rw-r--r-- | tests/sys/opencrypto/poly1305_test.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/sys/opencrypto/poly1305_test.c b/tests/sys/opencrypto/poly1305_test.c index 32c103715cd4..64a1f0934263 100644 --- a/tests/sys/opencrypto/poly1305_test.c +++ b/tests/sys/opencrypto/poly1305_test.c @@ -390,7 +390,7 @@ test_rfc7539_poly1305_vectors(int crid, const char *modname) ATF_TC_WITHOUT_HEAD(poly1305_vectors); ATF_TC_BODY(poly1305_vectors, tc) { - ATF_REQUIRE_SYSCTL_INT("kern.cryptodevallowsoft", 1); + ATF_REQUIRE_SYSCTL_INT("kern.crypto.allow_soft", 1); test_rfc7539_poly1305_vectors(CRYPTO_FLAG_SOFTWARE, "nexus/cryptosoft"); } |