summaryrefslogtreecommitdiffstats
path: root/ssl
diff options
context:
space:
mode:
authorMatt Caswell <matt@openssl.org>2014-11-27 20:32:21 +0000
committerMatt Caswell <matt@openssl.org>2014-11-27 21:41:17 +0000
commitf9ea4deba006ee45a61e5f406f12c936b9bc162e (patch)
treed9427ba30450a4c2695f42791549460bef8e0f39 /ssl
parenteceef8fb865eb5de329b27ea472d4fdea4c290fe (diff)
Fix warning in ssl2_enc
Reviewed-by: Richard Levitte <levitte@openssl.org>
Diffstat (limited to 'ssl')
-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 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;