mirror of
https://github.com/stefanberger/libtpms
synced 2025-12-30 10:03:49 +00:00
tpm2: Rename variable to avoid clashes with type and shadowing
Signed-off-by: Stefan Berger <stefanb@linux.ibm.com>
This commit is contained in:
parent
0903c69105
commit
7cbdd6113d
@ -133,7 +133,7 @@ static const EVP_CIPHER *evp_cipher_cache[__NUM_ALGS][__NUM_MODES][__NUM_KEYSIZE
|
||||
|
||||
static const EVP_CIPHER *
|
||||
GetCachedEVPCipher(
|
||||
evpfunc evpfunc, // IN
|
||||
evpfunc evpFunc, // IN
|
||||
size_t algIdx, // IN algorithm Index for the cache
|
||||
TPM_ALG_ID mode, // IN mode
|
||||
size_t keySizeIdx // IN
|
||||
@ -148,7 +148,7 @@ GetCachedEVPCipher(
|
||||
|
||||
evp_cipher = evp_cipher_cache[algIdx][modeIdx][keySizeIdx];
|
||||
if (evp_cipher == NULL) {
|
||||
evp_cipher = evpfunc();
|
||||
evp_cipher = evpFunc();
|
||||
evp_cipher_cache[algIdx][modeIdx][keySizeIdx] = evp_cipher;
|
||||
}
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user