Fix warning in ssl2_enc
authorMatt Caswell <matt@openssl.org>
Thu, 27 Nov 2014 20:32:21 +0000 (20:32 +0000)
committerMatt Caswell <matt@openssl.org>
Thu, 27 Nov 2014 21:41:17 +0000 (21:41 +0000)
Reviewed-by: Richard Levitte <levitte@openssl.org>
ssl/s2_enc.c

index 95d6eef..329006a 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;