Make it possible to load keys from stdin, and restore that
[openssl.git] / apps / rsa.c
index 60a33815276443949c23f32cf9b0d9ffe6213a09..4e19bc16fb877d019abe2aa65e38be1ed2c90cbb 100644 (file)
@@ -238,12 +238,12 @@ bad:
                if (pubin)
                        pkey = load_pubkey(bio_err, infile,
                                (informat == FORMAT_NETSCAPE && sgckey ?
-                                       FORMAT_IISSGC : informat),
+                                       FORMAT_IISSGC : informat), 1,
                                passin, e, "Public Key");
                else
                        pkey = load_key(bio_err, infile,
                                (informat == FORMAT_NETSCAPE && sgckey ?
-                                       FORMAT_IISSGC : informat),
+                                       FORMAT_IISSGC : informat), 1,
                                passin, e, "Private Key");
 
                if (pkey != NULL)