diff options
Diffstat (limited to 'src/lib/libcrypto/threads/mttest.c')
-rw-r--r-- | src/lib/libcrypto/threads/mttest.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/lib/libcrypto/threads/mttest.c b/src/lib/libcrypto/threads/mttest.c index 54d598565d..8973921778 100644 --- a/src/lib/libcrypto/threads/mttest.c +++ b/src/lib/libcrypto/threads/mttest.c | |||
@@ -243,7 +243,8 @@ bad: | |||
243 | goto end; | 243 | goto end; |
244 | } | 244 | } |
245 | 245 | ||
246 | if (cipher == NULL) cipher=getenv("SSL_CIPHER"); | 246 | if (cipher == NULL && issetugid() == 0) |
247 | cipher=getenv("SSL_CIPHER"); | ||
247 | 248 | ||
248 | SSL_load_error_strings(); | 249 | SSL_load_error_strings(); |
249 | OpenSSL_add_ssl_algorithms(); | 250 | OpenSSL_add_ssl_algorithms(); |