summaryrefslogtreecommitdiffstats
path: root/ssl
diff options
context:
space:
mode:
authorAndy Polyakov <appro@openssl.org>2012-04-15 17:23:41 +0000
committerAndy Polyakov <appro@openssl.org>2012-04-15 17:23:41 +0000
commitc2770c0e0e0da5f447227553c248f9a94504ee4e (patch)
treeac549147896d19d012aef0c97657a644edd0fa35 /ssl
parent371056f2b92dcb8c98940e2703a30429bdbaa5e2 (diff)
s3_srvr.c: fix typo [from HEAD].
PR: 2538
Diffstat (limited to 'ssl')
-rw-r--r--ssl/s3_srvr.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ssl/s3_srvr.c b/ssl/s3_srvr.c
index 5944d8c484..118939fabb 100644
--- a/ssl/s3_srvr.c
+++ b/ssl/s3_srvr.c
@@ -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);