mirror of
https://github.com/openssl/openssl.git
synced 2024-11-27 05:21:51 +08:00
apps/genpkey.c: Use PEM_read_bio_Parameters_ex when reading parameters
Needed to be able to set the libctx and propq. Reviewed-by: Paul Dale <pauli@openssl.org> Reviewed-by: Tomas Mraz <tomas@openssl.org> (Merged from https://github.com/openssl/openssl/pull/13894)
This commit is contained in:
parent
ac6ea3a7c5
commit
3d63348a87
@ -252,7 +252,7 @@ static int init_keygen_file(EVP_PKEY_CTX **pctx, const char *file, ENGINE *e,
|
||||
return 0;
|
||||
}
|
||||
|
||||
pkey = PEM_read_bio_Parameters(pbio, NULL);
|
||||
pkey = PEM_read_bio_Parameters_ex(pbio, NULL, libctx, propq);
|
||||
BIO_free(pbio);
|
||||
|
||||
if (pkey == NULL) {
|
||||
|
Loading…
Reference in New Issue
Block a user