提交 f28e8bd3 编写于 作者: R Richard Levitte

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>
上级 de02ec27
......@@ -267,7 +267,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();
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册