aboutsummaryrefslogtreecommitdiffstats
path: root/src/pk_pad/eme1/eme1.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/pk_pad/eme1/eme1.cpp')
-rw-r--r--src/pk_pad/eme1/eme1.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/pk_pad/eme1/eme1.cpp b/src/pk_pad/eme1/eme1.cpp
index 4ad47f41a..63347e6a8 100644
--- a/src/pk_pad/eme1/eme1.cpp
+++ b/src/pk_pad/eme1/eme1.cpp
@@ -114,7 +114,7 @@ size_t EME1::maximum_input_size(size_t keybits) const
* EME1 Constructor
*/
EME1::EME1(HashFunction* hash, const std::string& P) :
- HASH_LENGTH(hash->OUTPUT_LENGTH)
+ HASH_LENGTH(hash->output_length())
{
Phash = hash->process(P);
mgf = new MGF1(hash);