Add SRP and PSK to disallowed CertificateRequest ciphersuites
[openssl.git] / ssl / statem / statem_srvr.c
index a4bc0e380d4fdb5de0222e83f90d1593010413e1..6f51d5dc76f9957b4cfd9bf694e313aeceac8df6 100644 (file)
@@ -391,7 +391,7 @@ static int send_certificate_request(SSL *s)
             * With normal PSK Certificates and Certificate Requests
             * are omitted
             */
-           && !(s->s3->tmp.new_cipher->algorithm_mkey & SSL_PSK)) {
+           && !(s->s3->tmp.new_cipher->algorithm_auth & SSL_aPSK)) {
         return 1;
     }