summaryrefslogtreecommitdiff
path: root/src/lib/libcrypto/threads/mttest.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/libcrypto/threads/mttest.c')
-rw-r--r--src/lib/libcrypto/threads/mttest.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/lib/libcrypto/threads/mttest.c b/src/lib/libcrypto/threads/mttest.c
index 100165948c..019add4d9c 100644
--- a/src/lib/libcrypto/threads/mttest.c
+++ b/src/lib/libcrypto/threads/mttest.c
@@ -248,7 +248,8 @@ bad:
248 goto end; 248 goto end;
249 } 249 }
250 250
251 if (cipher == NULL) cipher=getenv("SSL_CIPHER"); 251 if (cipher == NULL && issetugid() == 0)
252 cipher=getenv("SSL_CIPHER");
252 253
253 SSL_load_error_strings(); 254 SSL_load_error_strings();
254 OpenSSL_add_ssl_algorithms(); 255 OpenSSL_add_ssl_algorithms();