Only use environment variables if uid and gid are the same as euid and egid.
This is part of a large change submitted by Markus Friedl <markus@openbsd.org>
This commit is contained in:
parent
4b66e713de
commit
3e786f4b0d
@ -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();
|
||||
|
Loading…
x
Reference in New Issue
Block a user