diff options
author | Dr. David von Oheimb <David.von.Oheimb@siemens.com> | 2021-03-08 08:04:54 +0100 |
---|---|---|
committer | Dr. David von Oheimb <dev@ddvo.net> | 2021-03-09 11:02:41 +0100 |
commit | 4c52ee1dbfa1913a14968f395cc9900ed9beee5e (patch) | |
tree | f73de7bafeedd7ee99569694e806482b1dfe4681 /crypto/cmp | |
parent | b6a06b13a4ea97cdc831926339a23ca48970b19d (diff) |
cmp_hdr.c: Fix minor Coverity issue CID 1473605
Reviewed-by: Tomas Mraz <tomas@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/14460)
Diffstat (limited to 'crypto/cmp')
-rw-r--r-- | crypto/cmp/cmp_hdr.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/crypto/cmp/cmp_hdr.c b/crypto/cmp/cmp_hdr.c index 58b07dd8b2..a1770c1204 100644 --- a/crypto/cmp/cmp_hdr.c +++ b/crypto/cmp/cmp_hdr.c @@ -283,9 +283,6 @@ int ossl_cmp_hdr_set_transactionID(OSSL_CMP_CTX *ctx, OSSL_CMP_PKIHEADER *hdr) OPENSSL_free(tid); } - if (ctx->transactionID == NULL - && !set_random(&ctx->transactionID, ctx, OSSL_CMP_TRANSACTIONID_LENGTH)) - return 0; return ossl_cmp_asn1_octet_string_set1(&hdr->transactionID, ctx->transactionID); } |