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 ff41f12..25d8cda 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 945dab1..6a80fbe 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)