mirror of
https://github.com/openssl/openssl.git
synced 2025-04-24 20:51:14 +08:00
CTLOG_new_ex: Fix copy&paste error when setting propq
Fixes #18431 Reviewed-by: Shane Lontis <shane.lontis@oracle.com> Reviewed-by: Dmitry Belyavskiy <beldmit@gmail.com> (Merged from https://github.com/openssl/openssl/pull/18432)
This commit is contained in:
parent
b9a86d5dd8
commit
163bf682fd
@ -276,7 +276,7 @@ CTLOG *CTLOG_new_ex(EVP_PKEY *public_key, const char *name, OSSL_LIB_CTX *libctx
|
||||
|
||||
ret->libctx = libctx;
|
||||
if (propq != NULL) {
|
||||
ret->name = OPENSSL_strdup(propq);
|
||||
ret->propq = OPENSSL_strdup(propq);
|
||||
if (ret->propq == NULL) {
|
||||
ERR_raise(ERR_LIB_CT, ERR_R_MALLOC_FAILURE);
|
||||
goto err;
|
||||
|
Loading…
x
Reference in New Issue
Block a user