Make it possible to load keys from stdin, and restore that
[openssl.git] / apps / req.c
index 75a36040617b6c35bfcc5c55c66feaf43395b120..cc87923159d316bfe9675a3fc0533253077321de 100644 (file)
@@ -683,7 +683,7 @@ bad:
 
        if (keyfile != NULL)
                {
-               pkey = load_key(bio_err, keyfile, keyform, passin, e,
+               pkey = load_key(bio_err, keyfile, keyform, 0, passin, e,
                        "Private Key");
                if (!pkey)
                        {