projects
/
openssl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
eaf8670
)
Fix CTLOG_new_from_base64_ex()
author
Matt Caswell
<matt@openssl.org>
Tue, 25 May 2021 14:19:56 +0000
(15:19 +0100)
committer
Matt Caswell
<matt@openssl.org>
Tue, 8 Jun 2021 17:53:28 +0000
(18:53 +0100)
Ensure that the libctx/propq are passed to d2i_PUBKEY_ex()
Reviewed-by: Tomas Mraz <tomas@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/15504)
crypto/ct/ct_b64.c
patch
|
blob
|
history
diff --git
a/crypto/ct/ct_b64.c
b/crypto/ct/ct_b64.c
index 8dd137096cee90bfd953698116b14c036859a4b8..5dae44d5eff1450c24225ae1ded94f7ed2be8679 100644
(file)
--- a/
crypto/ct/ct_b64.c
+++ b/
crypto/ct/ct_b64.c
@@
-153,7
+153,7
@@
int CTLOG_new_from_base64_ex(CTLOG **ct_log, const char *pkey_base64,
}
p = pkey_der;
- pkey = d2i_PUBKEY
(NULL, &p, pkey_der_len
);
+ pkey = d2i_PUBKEY
_ex(NULL, &p, pkey_der_len, libctx, propq
);
OPENSSL_free(pkey_der);
if (pkey == NULL) {
ERR_raise(ERR_LIB_CT, CT_R_LOG_CONF_INVALID_KEY);