From c1e0a36ec6fb9ceef42e71b473b49cd69a54770e Mon Sep 17 00:00:00 2001 From: tb <> Date: Mon, 19 Jun 2023 18:51:47 +0000 Subject: Fix GOST test with disabled engine --- src/regress/lib/libcrypto/gost/gost2814789t.c | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) 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 @@ -/* $OpenBSD: gost2814789t.c,v 1.8 2022/09/12 04:20:59 tb Exp $ */ +/* $OpenBSD: gost2814789t.c,v 1.9 2023/06/19 18:51:47 tb Exp $ */ /* vim: set fileencoding=ascii : Charset: ASCII */ /* test/gostr2814789t.c */ /* ==================================================================== @@ -24,7 +24,9 @@ int main(int argc, char *argv[]) #include #include #include +#ifndef OPENSSL_NO_ENGINE #include +#endif #include #include #include @@ -1287,7 +1289,9 @@ int main(int argc, char *argv[]) } ERR_load_crypto_strings(); +#ifndef OPENSSL_NO_ENGINE ENGINE_load_builtin_engines(); +#endif OPENSSL_load_builtin_modules(); OpenSSL_add_all_algorithms(); -- cgit v1.2.3-55-g6feb