]> wagner.pp.ru Git - openssl-gost/engine.git/commitdiff
Fixed erroneusly used CFB mode in one of CBC tests
authorVictor Wagner <wagner@atlas-kard.ru>
Fri, 2 Oct 2015 08:57:09 +0000 (11:57 +0300)
committerVictor Wagner <wagner@atlas-kard.ru>
Fri, 2 Oct 2015 08:57:09 +0000 (11:57 +0300)
test/03-encrypt.t

index 6cb8b9b681529b74cb35f9254f059c96719a7114..8ab3d4aa94af572f05211b3c668209b20e74e20b 100644 (file)
@@ -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,