Skip to content

Commit

Permalink
fixup! cmp_{asn.c, kem.c, local.h}: move ossl_cmp_kem_KemOtherInfo_ne…
Browse files Browse the repository at this point in the history
…w() from cmp_kem.c
  • Loading branch information
rajeev-0 committed Sep 14, 2023
1 parent dfc675b commit ce9d13e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion crypto/cmp/cmp_asn.c
Original file line number Diff line number Diff line change
Expand Up @@ -282,7 +282,7 @@ int ossl_cmp_kem_KemOtherInfo_new(OSSL_CMP_CTX *ctx,
kemOtherInfo->senderNonce = ossl_cmp_ctx_get_kem_senderNonce(ctx);
kemOtherInfo->recipNonce = ossl_cmp_ctx_get_kem_recipNonce(ctx);

if (!ASN1_INTEGER_set(kemOtherInfo->len, ctx->kem_ssk_len)
if (!ASN1_INTEGER_set(kemOtherInfo->len, ctx->kem_ssklen)
|| !X509_ALGOR_set0(kemOtherInfo->mac, OBJ_nid2obj(NID_hmacWithSHA256),
V_ASN1_UNDEF, NULL))
goto err;
Expand Down

0 comments on commit ce9d13e

Please sign in to comment.