-passin argument not used when actually loading the key
[openssl.git] / apps / req.c
index cc21f06..60f0955 100644 (file)
@@ -593,7 +593,7 @@ bad:
 
        if (keyfile != NULL)
                {
-               pkey = load_key(bio_err, keyfile, keyform, NULL, e,
+               pkey = load_key(bio_err, keyfile, keyform, passin, e,
                        "Private Key");
                if (!pkey)
                        {