projects
/
oweals
/
openssl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4b66e71
)
Only use environment variables if uid and gid are the same as euid and egid.
author
Richard Levitte
<levitte@openssl.org>
Sat, 27 Dec 2003 16:07:18 +0000
(16:07 +0000)
committer
Richard Levitte
<levitte@openssl.org>
Sat, 27 Dec 2003 16:07:18 +0000
(16:07 +0000)
This is part of a large change submitted by Markus Friedl <markus@openbsd.org>
crypto/threads/mttest.c
patch
|
blob
|
history
diff --git
a/crypto/threads/mttest.c
b/crypto/threads/mttest.c
index 54d598565d5357648356e2fff7e8cc3a2753454d..7588966cb21936dde32372eda9a00bd1253cfbdf 100644
(file)
--- 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();