diff options
author | lloyd <[email protected]> | 2010-10-13 02:56:03 +0000 |
---|---|---|
committer | lloyd <[email protected]> | 2010-10-13 02:56:03 +0000 |
commit | 3697dcff8b5e9765b41114281ce10e7ed3d3abb4 (patch) | |
tree | 670853a74b0fe173e7e9fce9cd3e6eda7a03d2c7 /src/pbe | |
parent | 63121e1e169616f724bf79b8aac1a2b4423c8904 (diff) |
s/BLOCK_SIZE/block_size()/
Diffstat (limited to 'src/pbe')
-rw-r--r-- | src/pbe/pbes2/pbes2.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/pbe/pbes2/pbes2.cpp b/src/pbe/pbes2/pbes2.cpp index 7188e42d7..e74609467 100644 --- a/src/pbe/pbes2/pbes2.cpp +++ b/src/pbe/pbes2/pbes2.cpp @@ -101,7 +101,7 @@ void PBE_PKCS5v20::new_params(RandomNumberGenerator& rng) key_length = block_cipher->MAXIMUM_KEYLENGTH; salt = rng.random_vec(12); - iv = rng.random_vec(block_cipher->BLOCK_SIZE); + iv = rng.random_vec(block_cipher->block_size()); } /* |