summaryrefslogtreecommitdiff
path: root/src/fips-186-rng-test.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/fips-186-rng-test.cpp')
-rwxr-xr-xsrc/fips-186-rng-test.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/fips-186-rng-test.cpp b/src/fips-186-rng-test.cpp
index c26239b..887345a 100755
--- a/src/fips-186-rng-test.cpp
+++ b/src/fips-186-rng-test.cpp
@@ -74,7 +74,7 @@ main(int argc, const char** argv)
return 3;
}
- Gen_FIPS_186_Value(XKey_buf, X_buf);
+ Gen_FIPS_186_Value(XKey_buf, SHA_DIGEST_LENGTH, X_buf, SHA_DIGEST_LENGTH*2);
if ( memcmp(X_buf, X_test_buf, SHA_DIGEST_LENGTH*2) != 0 )
{