From: Matt Caswell Date: Thu, 27 Nov 2014 20:40:18 +0000 (+0000) Subject: Fixed warning in ssl2_enc X-Git-Tag: OpenSSL_1_0_1k~75 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=2db95e094d23b41d2305c0a01db66694ea77f936;p=oweals%2Fopenssl.git Fixed warning in ssl2_enc Reviewed-by: Richard Levitte --- 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;