use keyformat for -x509toreq, don't hard code PEM
This commit is contained in:
parent
e8f31f80d1
commit
1fe83b4afe
@ -987,7 +987,7 @@ bad:
|
|||||||
else
|
else
|
||||||
{
|
{
|
||||||
pk=load_key(bio_err,
|
pk=load_key(bio_err,
|
||||||
keyfile, FORMAT_PEM, 0,
|
keyfile, keyformat, 0,
|
||||||
passin, e, "request key");
|
passin, e, "request key");
|
||||||
if (pk == NULL) goto end;
|
if (pk == NULL) goto end;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user