summaryrefslogtreecommitdiffstats
path: root/crypto/threads
diff options
context:
space:
mode:
Diffstat (limited to 'crypto/threads')
-rw-r--r--crypto/threads/mttest.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/crypto/threads/mttest.c b/crypto/threads/mttest.c
index 54d598565d..7588966cb2 100644
--- a/crypto/threads/mttest.c
+++ b/crypto/threads/mttest.c
@@ -243,7 +243,8 @@ bad:
goto end;
}
- if (cipher == NULL) cipher=getenv("SSL_CIPHER");
+ if (cipher == NULL && OPENSSL_issetugid() == 0)
+ cipher=getenv("SSL_CIPHER");
SSL_load_error_strings();
OpenSSL_add_ssl_algorithms();