aboutsummaryrefslogtreecommitdiffstats
path: root/src/pbe/pbes1
diff options
context:
space:
mode:
authorlloyd <[email protected]>2008-09-29 03:34:12 +0000
committerlloyd <[email protected]>2008-09-29 03:34:12 +0000
commit7553b5f1461d58eae49e81c2e9bacdf0ea7d4cab (patch)
tree695c966ed348afd43a8d48979f02205cc6ad5f77 /src/pbe/pbes1
parentce7ef966e3a52731ad9d12a539d8db7fabe9f793 (diff)
Expose use of global state in some of the lookup functions, including
get_cipher
Diffstat (limited to 'src/pbe/pbes1')
-rw-r--r--src/pbe/pbes1/pbes1.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/pbe/pbes1/pbes1.cpp b/src/pbe/pbes1/pbes1.cpp
index cdcc78148..8bbd079c4 100644
--- a/src/pbe/pbes1/pbes1.cpp
+++ b/src/pbe/pbes1/pbes1.cpp
@@ -33,7 +33,7 @@ void PBE_PKCS5v15::write(const byte input[], u32bit length)
*************************************************/
void PBE_PKCS5v15::start_msg()
{
- pipe.append(get_cipher(cipher, key, iv, direction));
+ pipe.append(get_cipher(global_state(), cipher, key, iv, direction));
pipe.start_msg();
if(pipe.message_count() > 1)
pipe.set_default_msg(pipe.default_msg() + 1);