diff options
author | lloyd <[email protected]> | 2011-02-09 15:13:28 +0000 |
---|---|---|
committer | lloyd <[email protected]> | 2011-02-09 15:13:28 +0000 |
commit | 75eff6cba7ac959f0d3b5292aa5ca7e321bf2e0d (patch) | |
tree | ad44e3ce741c7d2c83c46a21f0242be4eec33402 /src/pbe | |
parent | 5fa1a353fcdfc5fc83618f07a89b3d320596ae07 (diff) |
Convert the BER/DER coders to use size_t instead of u32bit for small
integer values. Update callers.
Diffstat (limited to 'src/pbe')
-rw-r--r-- | src/pbe/pbes1/pbes1.h | 2 | ||||
-rw-r--r-- | src/pbe/pbes2/pbes2.h | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/pbe/pbes1/pbes1.h b/src/pbe/pbes1/pbes1.h index dd991a515..e10cbbb53 100644 --- a/src/pbe/pbes1/pbes1.h +++ b/src/pbe/pbes1/pbes1.h @@ -51,7 +51,7 @@ class BOTAN_DLL PBE_PKCS5v15 : public PBE HashFunction* hash_function; SecureVector<byte> salt, key, iv; - u32bit iterations; + size_t iterations; Pipe pipe; }; diff --git a/src/pbe/pbes2/pbes2.h b/src/pbe/pbes2/pbes2.h index 1c7119e3a..7b82980e5 100644 --- a/src/pbe/pbes2/pbes2.h +++ b/src/pbe/pbes2/pbes2.h @@ -59,7 +59,7 @@ class BOTAN_DLL PBE_PKCS5v20 : public PBE BlockCipher* block_cipher; HashFunction* hash_function; SecureVector<byte> salt, key, iv; - u32bit iterations, key_length; + size_t iterations, key_length; Pipe pipe; }; |