s3_srvr.c: fix typo [from HEAD].
authorAndy Polyakov <appro@openssl.org>
Sun, 15 Apr 2012 17:23:23 +0000 (17:23 +0000)
committerAndy Polyakov <appro@openssl.org>
Sun, 15 Apr 2012 17:23:23 +0000 (17:23 +0000)
PR: 2538

ssl/s3_srvr.c

index a79c986da3ee7a4df1af4a8a868a27ea81247157..6db4a257f73480bc23b846a086618386d58f4c9e 100644 (file)
@@ -2728,7 +2728,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) && (type & EVP_PKT_SIGN))
                        {
                        al=SSL_AD_UNEXPECTED_MESSAGE;
                        SSLerr(SSL_F_SSL3_GET_CERT_VERIFY,SSL_R_MISSING_VERIFY_MESSAGE);