diff options
author | lloyd <[email protected]> | 2008-11-30 19:12:42 +0000 |
---|---|---|
committer | lloyd <[email protected]> | 2008-11-30 19:12:42 +0000 |
commit | 7428b1c2981797c1afa11f47b9e705f2a3c90ec5 (patch) | |
tree | 010a88222c2603183c4a8b0ef68b92c471182a7a | |
parent | 7f2428b9914dc709bce25d97f01268a9220e14ff (diff) |
Fix name of function in exception throw
-rw-r--r-- | src/pk_pad/emsa3/emsa3.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/pk_pad/emsa3/emsa3.cpp b/src/pk_pad/emsa3/emsa3.cpp index 5d8ce5442..62fdc408d 100644 --- a/src/pk_pad/emsa3/emsa3.cpp +++ b/src/pk_pad/emsa3/emsa3.cpp @@ -20,7 +20,7 @@ SecureVector<byte> emsa3_encoding(const MemoryRegion<byte>& msg, { u32bit output_length = output_bits / 8; if(output_length < hash_id_length + msg.size() + 10) - throw Encoding_Error("EMSA3::pad: Output length is too small"); + throw Encoding_Error("emsa3_encoding: Output length is too small"); SecureVector<byte> T(output_length); const u32bit P_LENGTH = output_length - msg.size() - hash_id_length - 2; |