projects
/
oweals
/
openssl.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Add a config option to disable automatic config loading
[oweals/openssl.git]
/
test
/
ssl_test.c
diff --git
a/test/ssl_test.c
b/test/ssl_test.c
index f2a18121bbb87d4ea8c16bf0b0680358dee0bbb5..7453a9d10e1eca3449870d44511de95b9f15f6a5 100644
(file)
--- a/
test/ssl_test.c
+++ b/
test/ssl_test.c
@@
-467,6
+467,11
@@
static int test_handshake(int idx)
}
}
+#ifdef OPENSSL_NO_AUTOLOAD_CONFIG
+ if (!TEST_true(OPENSSL_init_ssl(OPENSSL_INIT_LOAD_CONFIG, NULL)))
+ goto err;
+#endif
+
if (!TEST_ptr(server_ctx)
|| !TEST_ptr(client_ctx)
|| !TEST_int_gt(CONF_modules_load(conf, test_app, 0), 0))