Skip to content
Open
6 changes: 3 additions & 3 deletions SymCryptProvider/src/p_scossl_ecc.c
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ SCOSSL_STATUS p_scossl_ecc_get_encoded_public_key(const SCOSSL_ECC_KEY_CTX *keyC

if (scError != SYMCRYPT_NO_ERROR)
{
SCOSSL_PROV_LOG_SYMCRYPT_ERROR("SymCryptEckeyGetValue failed", scError);
SCOSSL_PROV_LOG_SYMCRYPT_ERROR("SymCryptEckeyGetValue failed", scError);
goto cleanup;
}

Expand Down Expand Up @@ -131,8 +131,8 @@ void p_scossl_ecc_init_keysinuse(SCOSSL_ECC_KEY_CTX *keyCtx)
{
// Initialize keysinuse for private keys. Generated keys are
// ignored to avoid noise from ephemeral keys.
PBYTE pbPublicKey;
SIZE_T cbPublicKey;
PBYTE pbPublicKey = NULL;
SIZE_T cbPublicKey = 0;

// KeysInUse related errors shouldn't surface to caller
ERR_set_mark();
Expand Down
Loading