diff options
author | Jack Lloyd <[email protected]> | 2018-11-21 08:56:18 -0500 |
---|---|---|
committer | Jack Lloyd <[email protected]> | 2018-11-21 08:56:18 -0500 |
commit | 9da186214a9f15c952ef72b18eeda8e7ca1c7df3 (patch) | |
tree | 03fd4638c60337b5381e22ebdb50cada8ea45bc5 /src/lib/prov/commoncrypto | |
parent | 2c1b53a1c93d54992ebcb509d771842ce1d6c598 (diff) |
Fix type error
Closes #1747
Diffstat (limited to 'src/lib/prov/commoncrypto')
-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); } |