From: Matt Caswell Date: Thu, 27 Nov 2014 20:32:21 +0000 (+0000) Subject: Fix warning in ssl2_enc X-Git-Tag: master-post-reformat~260 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=f9ea4deba006ee45a61e5f406f12c936b9bc162e;p=oweals%2Fopenssl.git Fix warning in ssl2_enc Reviewed-by: Richard Levitte --- diff --git a/ssl/s2_enc.c b/ssl/s2_enc.c index 95d6eef6da..329006a7c9 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;