X-Git-Url: https://git.openssl.org/?p=openssl.git;a=blobdiff_plain;f=crypto%2Fpkcs12%2Fp12_key.c;h=5a062087d1ec3bb7043c64101190b8ca2c305c2b;hp=99b8260c96c27902bac8cd492210d81e231a3a26;hb=dfb56425b68314b2b57e17c82c1df42e7a015132;hpb=156a872233b56558c72561789b8f33ff71a88fa7 diff --git a/crypto/pkcs12/p12_key.c b/crypto/pkcs12/p12_key.c index 99b8260c96..5a062087d1 100644 --- a/crypto/pkcs12/p12_key.c +++ b/crypto/pkcs12/p12_key.c @@ -118,13 +118,6 @@ int PKCS12_key_gen_uni(unsigned char *pass, int passlen, unsigned char *salt, int tmpn = n; #endif -#if 0 - if (!pass) { - PKCS12err(PKCS12_F_PKCS12_KEY_GEN_UNI, ERR_R_PASSED_NULL_PARAMETER); - return 0; - } -#endif - EVP_MD_CTX_init(&ctx); #ifdef DEBUG_KEYGEN fprintf(stderr, "KEYGEN DEBUG\n");