summaryrefslogtreecommitdiffstats
path: root/ssl
diff options
context:
space:
mode:
authorAndy Polyakov <appro@openssl.org>2012-04-15 17:23:23 +0000
committerAndy Polyakov <appro@openssl.org>2012-04-15 17:23:23 +0000
commit00419258445e3bf95cc7ca54877b7c2c4414af20 (patch)
tree9a942a13f0c654148ed523bad3f4e463b6199921 /ssl
parent14fa016b2be05f4b325874ab0a76511ba035d852 (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 a79c986da3..6db4a257f7 100644
--- a/ssl/s3_srvr.c
+++ b/ssl/s3_srvr.c
@@ -2728,7 +2728,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);