提交 a3f7ff2b 编写于 作者: D Dr. Stephen Henson

Don't request certificates for any PSK ciphersuite

Reviewed-by: NMatt Caswell <matt@openssl.org>
上级 69a3a9f5
......@@ -503,7 +503,7 @@ int ssl3_accept(SSL *s)
* With normal PSK Certificates and Certificate Requests
* are omitted
*/
|| (s->s3->tmp.new_cipher->algorithm_mkey & SSL_kPSK)) {
|| (s->s3->tmp.new_cipher->algorithm_mkey & SSL_PSK)) {
/* no cert request */
skip = 1;
s->s3->tmp.cert_request = 0;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册