shishi-commit
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

shishi/crypto cbc-cts.c


From: shishi-commit
Subject: shishi/crypto cbc-cts.c
Date: Mon, 20 Oct 2003 01:46:40 -0400

CVSROOT:        /cvsroot/shishi
Module name:    shishi
Branch:         
Changes by:     Simon Josefsson <address@hidden>        03/10/20 01:46:40

Modified files:
        crypto         : cbc-cts.c 

Log message:
        (cbc_cts_decrypt): Fix real bug.

CVSWeb URLs:
http://savannah.gnu.org/cgi-bin/viewcvs/shishi/shishi/crypto/cbc-cts.c.diff?tr1=1.9&tr2=1.10&r1=text&r2=text

Patches:
Index: shishi/crypto/cbc-cts.c
diff -u shishi/crypto/cbc-cts.c:1.9 shishi/crypto/cbc-cts.c:1.10
--- shishi/crypto/cbc-cts.c:1.9 Mon Oct 20 01:28:58 2003
+++ shishi/crypto/cbc-cts.c     Mon Oct 20 01:46:40 2003
@@ -104,6 +104,7 @@
 
   if (length > block_size)
     {
+      memcpy (tmpiv, iv, block_size);
       memcpy (iv, src + block_size, restbytes);
       f (ctx, block_size, dst, src);
       memxor (dst, iv, restbytes);




reply via email to

[Prev in Thread] Current Thread [Next in Thread]