aboutsummaryrefslogtreecommitdiffstats
path: root/src/pk_pad/eme1/eme1.cpp
diff options
context:
space:
mode:
authorlloyd <[email protected]>2010-10-13 02:45:00 +0000
committerlloyd <[email protected]>2010-10-13 02:45:00 +0000
commit63121e1e169616f724bf79b8aac1a2b4423c8904 (patch)
tree2375d5b5daaad8990b2cee951d137f2e7638e79b /src/pk_pad/eme1/eme1.cpp
parent879d062c2b93e32362e338d1c6f9b1eda0f88493 (diff)
Use output_length() instead of OUTPUT_LENGTH pseudo-property
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);