diff options
Diffstat (limited to 'src/pk_pad/emsa1_bsi/emsa1_bsi.cpp')
-rw-r--r-- | src/pk_pad/emsa1_bsi/emsa1_bsi.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/pk_pad/emsa1_bsi/emsa1_bsi.cpp b/src/pk_pad/emsa1_bsi/emsa1_bsi.cpp index a19ecfe58..bbcc5aae7 100644 --- a/src/pk_pad/emsa1_bsi/emsa1_bsi.cpp +++ b/src/pk_pad/emsa1_bsi/emsa1_bsi.cpp @@ -17,7 +17,7 @@ SecureVector<byte> EMSA1_BSI::encoding_of(const MemoryRegion<byte>& msg, size_t output_bits, RandomNumberGenerator&) { - if(msg.size() != hash_ptr()->OUTPUT_LENGTH) + if(msg.size() != hash_ptr()->output_length()) throw Encoding_Error("EMSA1_BSI::encoding_of: Invalid size for input"); if(8*msg.size() <= output_bits) |