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:12 +0200 |
commit | 163bf682fd93971d07e66e3da339c229b86dc849 (patch) | |
tree | 33eebd6562e45ea855f11ba4e1619abc74ffdfee /crypto/ct | |
parent | b9a86d5dd8b5bd33be42390bcbb5121fe0ae71a1 (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)
Diffstat (limited to 'crypto/ct')
-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; |