diff options
author | tb <> | 2023-06-19 18:51:47 +0000 |
---|---|---|
committer | tb <> | 2023-06-19 18:51:47 +0000 |
commit | c1e0a36ec6fb9ceef42e71b473b49cd69a54770e (patch) | |
tree | 51d886757bdaad6a7e4338adb2ce8695395c99c2 | |
parent | 50c27b24fc17058ace76dba2b05ee0dde38cff2c (diff) | |
download | openbsd-c1e0a36ec6fb9ceef42e71b473b49cd69a54770e.tar.gz openbsd-c1e0a36ec6fb9ceef42e71b473b49cd69a54770e.tar.bz2 openbsd-c1e0a36ec6fb9ceef42e71b473b49cd69a54770e.zip |
Fix GOST test with disabled engine
-rw-r--r-- | src/regress/lib/libcrypto/gost/gost2814789t.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/regress/lib/libcrypto/gost/gost2814789t.c b/src/regress/lib/libcrypto/gost/gost2814789t.c index e531229f63..5e439a7e36 100644 --- a/src/regress/lib/libcrypto/gost/gost2814789t.c +++ b/src/regress/lib/libcrypto/gost/gost2814789t.c | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: gost2814789t.c,v 1.8 2022/09/12 04:20:59 tb Exp $ */ | 1 | /* $OpenBSD: gost2814789t.c,v 1.9 2023/06/19 18:51:47 tb Exp $ */ |
2 | /* vim: set fileencoding=ascii : Charset: ASCII */ | 2 | /* vim: set fileencoding=ascii : Charset: ASCII */ |
3 | /* test/gostr2814789t.c */ | 3 | /* test/gostr2814789t.c */ |
4 | /* ==================================================================== | 4 | /* ==================================================================== |
@@ -24,7 +24,9 @@ int main(int argc, char *argv[]) | |||
24 | #include <inttypes.h> | 24 | #include <inttypes.h> |
25 | #include <openssl/conf.h> | 25 | #include <openssl/conf.h> |
26 | #include <openssl/crypto.h> | 26 | #include <openssl/crypto.h> |
27 | #ifndef OPENSSL_NO_ENGINE | ||
27 | #include <openssl/engine.h> | 28 | #include <openssl/engine.h> |
29 | #endif | ||
28 | #include <openssl/err.h> | 30 | #include <openssl/err.h> |
29 | #include <openssl/evp.h> | 31 | #include <openssl/evp.h> |
30 | #include <openssl/hmac.h> | 32 | #include <openssl/hmac.h> |
@@ -1287,7 +1289,9 @@ int main(int argc, char *argv[]) | |||
1287 | } | 1289 | } |
1288 | 1290 | ||
1289 | ERR_load_crypto_strings(); | 1291 | ERR_load_crypto_strings(); |
1292 | #ifndef OPENSSL_NO_ENGINE | ||
1290 | ENGINE_load_builtin_engines(); | 1293 | ENGINE_load_builtin_engines(); |
1294 | #endif | ||
1291 | OPENSSL_load_builtin_modules(); | 1295 | OPENSSL_load_builtin_modules(); |
1292 | OpenSSL_add_all_algorithms(); | 1296 | OpenSSL_add_all_algorithms(); |
1293 | 1297 | ||