diff options
author | Tomas Mraz <tomas@openssl.org> | 2022-05-30 17:02:03 +0200 |
---|---|---|
committer | Tomas Mraz <tomas@openssl.org> | 2022-06-02 12:08:41 +0200 |
commit | 142e280924f8bcd4e86ddc539ac0687f2239373e (patch) | |
tree | 8e001786e031bf6d2706b1543d88a4adc113bf00 /crypto | |
parent | b375e158cb910b253d4bb68c2fd5c30a2da60670 (diff) |
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)
(cherry picked from commit 163bf682fd93971d07e66e3da339c229b86dc849)
Diffstat (limited to 'crypto')
-rw-r--r-- | crypto/ct/ct_log.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/crypto/ct/ct_log.c b/crypto/ct/ct_log.c index 9b77d7a963..ec6ac1dd7f 100644 --- a/crypto/ct/ct_log.c +++ b/crypto/ct/ct_log.c @@ -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; |