diff options
-rw-r--r-- | src/lib/prov/commoncrypto/commoncrypto_utils.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/prov/commoncrypto/commoncrypto_utils.cpp b/src/lib/prov/commoncrypto/commoncrypto_utils.cpp index 97da49496..055f19f90 100644 --- a/src/lib/prov/commoncrypto/commoncrypto_utils.cpp +++ b/src/lib/prov/commoncrypto/commoncrypto_utils.cpp @@ -176,7 +176,7 @@ void commoncrypto_adjust_key_size(const uint8_t key[], size_t length, } full_key.resize(length * repeat); - for(int i=0; i<repeat; i++) + for(size_t i = 0; i < repeat; i++) { copy_mem(full_key.data() + i * length, key, length); } |