From: Matt Caswell Date: Thu, 27 Nov 2014 20:32:21 +0000 (+0000) Subject: Fix warning in ssl2_enc X-Git-Tag: OpenSSL_1_0_2~162 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=4b12a17fe3d7fecdea19cd265229e47e87a22752;p=oweals%2Fopenssl.git Fix warning in ssl2_enc Reviewed-by: Richard Levitte (cherry picked from commit f9ea4deba006ee45a61e5f406f12c936b9bc162e) --- 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;