shishi-commit
[Top][All Lists]
Advanced

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

shishi/lib libgcrypt.c


From: shishi-commit
Subject: shishi/lib libgcrypt.c
Date: Sat, 20 Sep 2003 05:03:17 -0400

CVSROOT:        /cvsroot/shishi
Module name:    shishi
Branch:         
Changes by:     Simon Josefsson <address@hidden>        03/09/20 05:03:17

Modified files:
        lib            : libgcrypt.c 

Log message:
        Fix, from Nicolas Pouvesle <address@hidden>.

CVSWeb URLs:
http://savannah.gnu.org/cgi-bin/viewcvs/shishi/shishi/lib/libgcrypt.c.diff?tr1=1.15&tr2=1.16&r1=text&r2=text

Patches:
Index: shishi/lib/libgcrypt.c
diff -u shishi/lib/libgcrypt.c:1.15 shishi/lib/libgcrypt.c:1.16
--- shishi/lib/libgcrypt.c:1.15 Fri Sep 19 19:49:59 2003
+++ shishi/lib/libgcrypt.c      Sat Sep 20 05:03:16 2003
@@ -66,9 +66,9 @@
 shishi_randomize (Shishi * handle, int strong, char *data, size_t datalen)
 {
   if (strong)
-    gcry_randomize (data, datalen, GCRY_STRONG_RANDOM);
-  else
     gcry_randomize (data, datalen, GCRY_VERY_STRONG_RANDOM);
+  else
+    gcry_randomize (data, datalen, GCRY_STRONG_RANDOM);
   return SHISHI_OK;
 }
 




reply via email to

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