Make it possible to load keys from stdin, and restore that
[openssl.git] / apps / ca.c
index ad02e0072b98718f3d64ea3113707c021a0fe875..9633a39f785b1c4ab18ef369165efbb00690f932 100644 (file)
--- a/apps/ca.c
+++ b/apps/ca.c
@@ -699,7 +699,7 @@ bad:
                        goto err;
                        }
                }
-       pkey = load_key(bio_err, keyfile, keyform, key, e, 
+       pkey = load_key(bio_err, keyfile, keyform, 0, key, e, 
                "CA private key");
        if (key) memset(key,0,strlen(key));
        if (pkey == NULL)