summaryrefslogtreecommitdiffstats
path: root/ssl
diff options
context:
space:
mode:
authorMatt Caswell <matt@openssl.org>2014-11-27 20:40:18 +0000
committerMatt Caswell <matt@openssl.org>2014-11-27 21:58:32 +0000
commit7f3490e685d81c8fbab8cb065fa78e5c40dfb5c2 (patch)
tree593f7d5587cd5eb3ee9f392769e5fc34d8357f5b /ssl
parentdcf7a2dc4a98c1ccb77137d07fbf0c43fa10e0f8 (diff)
Fixed warning in ssl2_enc
Reviewed-by: Richard Levitte <levitte@openssl.org> (cherry picked from commit 2db95e094d23b41d2305c0a01db66694ea77f936)
Diffstat (limited to 'ssl')
-rw-r--r--ssl/s2_enc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ssl/s2_enc.c b/ssl/s2_enc.c
index a83d576605..a35968f63a 100644
--- a/ssl/s2_enc.c
+++ b/ssl/s2_enc.c
@@ -137,7 +137,7 @@ int ssl2_enc(SSL *s, int send)
}
/* check for NULL cipher */
- if (ds == NULL) return;
+ if (ds == NULL) return 1;
bs=ds->cipher->block_size;