aboutsummaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorHans Nilsson <[email protected]>2018-08-31 10:07:01 +0200
committerHans Nilsson <[email protected]>2018-08-31 10:07:01 +0200
commit869537a9bf799c8d12fc46c2b413e532d6e3b10c (patch)
treecd66a59734a4274a5574f7aa641007ee9e0a6c5d /lib
parentdf870366a22e44a6f09cf6744afbb29ba82885e5 (diff)
parent860ee1974caac4447dcbd7f9d7c27a252170d7a3 (diff)
downloadotp-869537a9bf799c8d12fc46c2b413e532d6e3b10c.tar.gz
otp-869537a9bf799c8d12fc46c2b413e532d6e3b10c.tar.bz2
otp-869537a9bf799c8d12fc46c2b413e532d6e3b10c.zip
Merge branch 'maint'
* maint: crypto: Let otp_test_engine only add what is needed OpenSSL_add_all_algorithms hangs on some test machines
Diffstat (limited to 'lib')
-rw-r--r--lib/crypto/c_src/otp_test_engine.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/crypto/c_src/otp_test_engine.c b/lib/crypto/c_src/otp_test_engine.c
index b6c9067964..34c825059f 100644
--- a/lib/crypto/c_src/otp_test_engine.c
+++ b/lib/crypto/c_src/otp_test_engine.c
@@ -64,7 +64,8 @@ static int test_init(ENGINE *e) {
printf("OTP Test Engine Initializatzion!\r\n");
/* Load all digest and cipher algorithms. Needed for password protected private keys */
- OpenSSL_add_all_algorithms();
+ OpenSSL_add_all_ciphers();
+ OpenSSL_add_all_digests();
return 111;
}