From 1fd0d2d94a27dac7337cd21c3386a4949f977708 Mon Sep 17 00:00:00 2001 From: Jesse Luehrs Date: Tue, 17 Mar 2015 10:00:06 -0400 Subject: allow these functions to work on arbitrary block sizes --- tests/lib.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tests') diff --git a/tests/lib.rs b/tests/lib.rs index d1bc806..bb495b3 100644 --- a/tests/lib.rs +++ b/tests/lib.rs @@ -180,7 +180,7 @@ fn problem_11 () { } for _ in 0..100 { - let got = matasano::detect_ecb_cbc(random_encrypter); + let got = matasano::detect_ecb_cbc(random_encrypter, 16); let expected = unsafe { &last_mode }; assert_eq!(&got, expected); } -- cgit v1.2.3-54-g00ecf