aboutsummaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorHans Nilsson <[email protected]>2018-08-29 12:21:22 +0200
committerHans Nilsson <[email protected]>2018-08-30 12:31:54 +0200
commit734ca41ae58ea5cf6d73cccb6ec6e37868991642 (patch)
tree238829756b18359392e8fe91e9af837c00a81c09 /lib
parentf2fac67bc61407017acc3d8db3b36c3e08804394 (diff)
downloadotp-734ca41ae58ea5cf6d73cccb6ec6e37868991642.tar.gz
otp-734ca41ae58ea5cf6d73cccb6ec6e37868991642.tar.bz2
otp-734ca41ae58ea5cf6d73cccb6ec6e37868991642.zip
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;
}