aboutsummaryrefslogtreecommitdiffstats
path: root/src/hash/md2/md2.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/hash/md2/md2.cpp
parent879d062c2b93e32362e338d1c6f9b1eda0f88493 (diff)
Use output_length() instead of OUTPUT_LENGTH pseudo-property
Diffstat (limited to 'src/hash/md2/md2.cpp')
-rw-r--r--src/hash/md2/md2.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/hash/md2/md2.cpp b/src/hash/md2/md2.cpp
index 5d8f5f15c..f2d6d800b 100644
--- a/src/hash/md2/md2.cpp
+++ b/src/hash/md2/md2.cpp
@@ -94,7 +94,7 @@ void MD2::final_result(byte output[])
hash(&buffer[0]);
hash(&checksum[0]);
- copy_mem(output, &X[0], OUTPUT_LENGTH);
+ copy_mem(output, &X[0], output_length());
clear();
}