Fixed warning in ssl2_enc
authorMatt Caswell <matt@openssl.org>
Thu, 27 Nov 2014 20:40:18 +0000 (20:40 +0000)
committerMatt Caswell <matt@openssl.org>
Thu, 27 Nov 2014 21:53:44 +0000 (21:53 +0000)
Reviewed-by: Richard Levitte <levitte@openssl.org>
ssl/s2_enc.c

index a83d5766051af993afb517b8323b84674695f4c1..a35968f63a7f7d7e30e70ea224754d10411ed73c 100644 (file)
@@ -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;