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 ebf432421f3b0d1500832a7f88a4c49ead945d5f..87678c181b0a9926d5cd7ac9503f20b3224cd206 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);