s3_srvr.c: fix typo.
authorAndy Polyakov <appro@openssl.org>
Sun, 15 Apr 2012 17:22:57 +0000 (17:22 +0000)
committerAndy Polyakov <appro@openssl.org>
Sun, 15 Apr 2012 17:22:57 +0000 (17:22 +0000)
PR: 2538

ssl/s3_srvr.c

index ebf4324..87678c1 100644 (file)
@@ -2980,7 +2980,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);