summaryrefslogtreecommitdiffstats
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:53:44 +0000
commit2db95e094d23b41d2305c0a01db66694ea77f936 (patch)
tree0567e181bc5d8af5289f8bbf6dbf95ee4a37b3c9
parent5fc8bb6ab71b5f7ce2dd67a47494bb5b5c6dc374 (diff)
Fixed warning in ssl2_enc
Reviewed-by: Richard Levitte <levitte@openssl.org>
-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;