mirror of
https://github.com/openssl/openssl.git
synced 2025-03-01 19:28:10 +08:00
Don't request certificates for any PSK ciphersuite
Reviewed-by: Matt Caswell <matt@openssl.org>
This commit is contained in:
parent
69a3a9f5d9
commit
a3f7ff2b2d
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user