]> git.ipfire.org Git - thirdparty/openssl.git/commitdiff
Don't enable engines on sysdefault tests
authorNeil Horman <nhorman@openssl.org>
Thu, 11 Sep 2025 20:00:17 +0000 (16:00 -0400)
committerNeil Horman <nhorman@openssl.org>
Fri, 3 Oct 2025 17:01:38 +0000 (13:01 -0400)
With engine removal, we expect that init flag to disappear, so stop
using it here.

Reviewed-by: Richard Levitte <levitte@openssl.org>
Reviewed-by: Tomas Mraz <tomas@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/28525)

test/sysdefaulttest.c

index cc756fd1394757975ee59a043a061067313c28f5..90166bdf9888d35846b110e5e40d5cf7beeb9e00 100644 (file)
@@ -44,8 +44,7 @@ static int test_func(void)
 
 int global_init(void)
 {
-    if (!OPENSSL_init_ssl(OPENSSL_INIT_ENGINE_ALL_BUILTIN
-                          | OPENSSL_INIT_LOAD_CONFIG, NULL))
+    if (!OPENSSL_init_ssl(OPENSSL_INIT_LOAD_CONFIG, NULL))
         return 0;
     return 1;
 }