Skip to content

Commit

Permalink
fixup! build.info, cmp_{kem.c, local.h}: add functions for kemBasedMac
Browse files Browse the repository at this point in the history
  • Loading branch information
rajeev-0 committed Aug 8, 2023
1 parent d4b6544 commit 7dce3e8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions crypto/cmp/cmp_kem.c
Original file line number Diff line number Diff line change
Expand Up @@ -492,7 +492,7 @@ static int performKemEncapsulation(OSSL_CMP_CTX *ctx, EVP_PKEY *pubkey,
int ossl_cmp_kem_get_ssk_using_srvcert(OSSL_CMP_CTX *ctx, OSSL_CMP_MSG *msg)
{
size_t secret_len, ct_len;
int ssk_len;
int ssk_len = 0;
unsigned char *secret = NULL, *ct = NULL, *ssk = NULL;
OSSL_CMP_ITAV *kem_itav;
int ret = 0;
Expand Down Expand Up @@ -540,4 +540,4 @@ int ossl_cmp_kem_get_ssk_using_srvcert(OSSL_CMP_CTX *ctx, OSSL_CMP_MSG *msg)
OPENSSL_clear_free(ssk, ssk_len);
ASN1_OCTET_STRING_free(asn1ct);
return ret;
}
}

0 comments on commit 7dce3e8

Please sign in to comment.