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

ssl/s3_srvr.c

index 5e9639c653a121e3351f1b174b8161a6da2820fb..357ae9503ff5268d3266d1c292a731621ec521ee 100644 (file)
@@ -2970,7 +2970,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);