From: Andy Polyakov Date: Sun, 15 Apr 2012 17:23:54 +0000 (+0000) Subject: s3_srvr.c: fix typo [from HEAD]. X-Git-Tag: OpenSSL_1_0_2-beta1~662 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=09f17419a6e46bf2f48b7c40df180cba6229b996;p=openssl s3_srvr.c: fix typo [from HEAD]. PR: 2538 --- diff --git a/ssl/s3_srvr.c b/ssl/s3_srvr.c index 5e9639c653..357ae9503f 100644 --- a/ssl/s3_srvr.c +++ b/ssl/s3_srvr.c @@ -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);