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

ssl/s3_srvr.c

index 5944d8c484824a9147f6c6f7ede2d872f966e3dd..118939fabb1ae4307432fb363a0fbdb2b0bb301b 100644 (file)
@@ -2930,7 +2930,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);