summaryrefslogtreecommitdiffstats
path: root/ssl
diff options
context:
space:
mode:
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 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;