Remove unreachable return statements.
authorUlf Möller <ulf@openssl.org>
Wed, 5 May 1999 22:06:44 +0000 (22:06 +0000)
committerUlf Möller <ulf@openssl.org>
Wed, 5 May 1999 22:06:44 +0000 (22:06 +0000)
crypto/pkcs12/p12_key.c
ssl/ssl_lib.c

index ff41f12aa0e09e42a42cedf40c3fc24e9c1ac4fa..25d8cdae575880a26b5d7aab74e8f65c3b0f21a6 100644 (file)
@@ -172,7 +172,6 @@ int PKCS12_key_gen_uni (unsigned char *pass, int passlen, unsigned char *salt,
                        } else BN_bn2bin (Ij, I + j);
                }
        }
-       return 0; /* This can't happen */
 }
 #ifdef DEBUG_KEYGEN
 void h__dump (unsigned char *p, int len)
index 945dab1cff786c86c57bdfc326057fd673bc2e35..6a80fbe16380245127155e00215c0ecb30322c46 100644 (file)
@@ -652,7 +652,6 @@ long SSL_ctrl(SSL *s,int cmd,long larg,char *parg)
        default:
                return(s->method->ssl_ctrl(s,cmd,larg,parg));
                }
-       return(0);
        }
 
 long SSL_CTX_ctrl(SSL_CTX *ctx,int cmd,long larg,char *parg)
@@ -710,7 +709,6 @@ long SSL_CTX_ctrl(SSL_CTX *ctx,int cmd,long larg,char *parg)
        default:
                return(ctx->method->ssl_ctx_ctrl(ctx,cmd,larg,parg));
                }
-       return(0);
        }
 
 int ssl_cipher_id_cmp(SSL_CIPHER *a,SSL_CIPHER *b)