]> git.ipfire.org Git - thirdparty/openssl.git/blobdiff - ssl/s3_srvr.c
Unauthenticated DH client certificate fix.
[thirdparty/openssl.git] / ssl / s3_srvr.c
index 90e95d6bc11fb4908156437673aaec9f4e8c6927..8550c1b7833e7ce5b2e585f614623a44ebdf2d2f 100644 (file)
@@ -3056,7 +3056,7 @@ int ssl3_get_cert_verify(SSL *s)
        if (s->s3->tmp.message_type != SSL3_MT_CERTIFICATE_VERIFY)
                {
                s->s3->tmp.reuse_message=1;
-               if ((peer != NULL) && (type & EVP_PKT_SIGN))
+               if (peer != NULL)
                        {
                        al=SSL_AD_UNEXPECTED_MESSAGE;
                        SSLerr(SSL_F_SSL3_GET_CERT_VERIFY,SSL_R_MISSING_VERIFY_MESSAGE);