projects
/
openssl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ac6ea3a
)
apps/genpkey.c: Use PEM_read_bio_Parameters_ex when reading parameters
author
Jon Spillett
<jon.spillett@oracle.com>
Tue, 19 Jan 2021 03:43:35 +0000
(13:43 +1000)
committer
Tomas Mraz
<tomas@openssl.org>
Wed, 20 Jan 2021 12:10:49 +0000
(13:10 +0100)
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)
apps/genpkey.c
patch
|
blob
|
history
diff --git
a/apps/genpkey.c
b/apps/genpkey.c
index 523ec1da8fba60a065272e7f4a76278069d1af3e..68dbbf87eb4d73a73d67e62d5452ad1469fd933b 100644
(file)
--- a/
apps/genpkey.c
+++ b/
apps/genpkey.c
@@
-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) {