From 63121e1e169616f724bf79b8aac1a2b4423c8904 Mon Sep 17 00:00:00 2001 From: lloyd Date: Wed, 13 Oct 2010 02:45:00 +0000 Subject: Use output_length() instead of OUTPUT_LENGTH pseudo-property --- src/hash/md2/md2.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/hash/md2') 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(); } -- cgit v1.2.3