From f9ea4deba006ee45a61e5f406f12c936b9bc162e Mon Sep 17 00:00:00 2001 From: Matt Caswell Date: Thu, 27 Nov 2014 20:32:21 +0000 Subject: [PATCH] Fix warning in ssl2_enc Reviewed-by: Richard Levitte --- ssl/s2_enc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; -- 2.40.0