summaryrefslogtreecommitdiffstats
path: root/ssl
diff options
context:
space:
mode:
authorDr. Stephen Henson <steve@openssl.org>2015-07-11 01:17:36 +0100
committerDr. Stephen Henson <steve@openssl.org>2015-07-30 14:55:33 +0100
commita3f7ff2b2d1b1267cdf0bbce2374ebe149ed264a (patch)
tree1eda30ac0d3e9611b651e92f9dcbc1ff709b8e7a /ssl
parent69a3a9f5d9c018eee97b4127c40bc9903c03cce4 (diff)
Don't request certificates for any PSK ciphersuite
Reviewed-by: Matt Caswell <matt@openssl.org>
Diffstat (limited to 'ssl')
-rw-r--r--ssl/s3_srvr.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ssl/s3_srvr.c b/ssl/s3_srvr.c
index caf45d1afb..72deedc0c5 100644
--- a/ssl/s3_srvr.c
+++ b/ssl/s3_srvr.c
@@ -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;