Fix an implicit type conversion

pull/5538/head
Satoshi Yamaguchi 2022-09-03 23:56:54 +09:00
parent 85776f0069
commit b52d193ee3
1 changed files with 1 additions and 1 deletions

View File

@ -3436,7 +3436,7 @@ WOLFSSL_EVP_PKEY* wolfSSL_EVP_PKEY_new_CMAC_key(WOLFSSL_ENGINE* e,
if (len) {
XMEMCPY(pkey->pkey.ptr, priv, len);
}
pkey->pkey_sz = len;
pkey->pkey_sz = (int)len;
pkey->type = pkey->save_type = EVP_PKEY_CMAC;
pkey->cmacCtx = ctx;
}