From 68f86c00bbc3145e2fca2ebd9c84291f46e9a127 Mon Sep 17 00:00:00 2001 From: Victor Wagner Date: Fri, 2 Oct 2015 11:57:09 +0300 Subject: [PATCH] Fixed erroneusly used CFB mode in one of CBC tests --- test/03-encrypt.t | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/03-encrypt.t b/test/03-encrypt.t index 6cb8b9b..8ab3d4a 100644 --- a/test/03-encrypt.t +++ b/test/03-encrypt.t @@ -140,8 +140,8 @@ crypt_test(-paramset=> "1.2.643.2.2.31.1", -key => $key, -iv => $iv, crypt_test(-paramset=> "1.2.643.2.2.31.2", -key => $key, -iv => $iv, -cleartext => $clear1, - -ciphertext => '11465c1c9708033e784fbb5536f2719c38353cb488b01f195c20d4c027022e8300d98bb66c138afbe878c88b', - -alg => 'gost89', + -ciphertext => 'af2a2167b75852378af176ac9950e3c4bffc94d3d4355191707adbb16d6c8e3f3a07868c4702babef18393edfac60a6d', + -alg => 'gost89-cbc', -name=> 'CBC short text, paramset B'); crypt_test(-paramset=> "1.2.643.2.2.31.3", -key => $key, -iv => $iv, -- 2.39.5