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;