This didn't get to the 0.9.8-dev thread...
[openssl.git] / apps / pkcs12.c
index 64b4b32be72fd5273e23d1e877b03090c173ec9d..536cf57c154533e92198f8181eac060055783096 100644 (file)
@@ -538,7 +538,7 @@ int MAIN(int argc, char **argv)
 #endif
 
        if(!noprompt &&
-               EVP_read_pw_string(pass, 50, "Enter Export Password:", 1))
+               EVP_read_pw_string(pass, sizeof pass, "Enter Export Password:", 1))
                {
                BIO_printf (bio_err, "Can't read Password\n");
                goto export_end;