shishi-commit
[Top][All Lists]
Advanced

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

shishi/lib nettle.c


From: shishi-commit
Subject: shishi/lib nettle.c
Date: Sun, 14 Sep 2003 10:47:47 -0400

CVSROOT:        /cvsroot/shishi
Module name:    shishi
Branch:         
Changes by:     Simon Josefsson <address@hidden>        03/09/14 10:47:46

Modified files:
        lib            : nettle.c 

Log message:
        (shishi_arcfour): Use proper Nettle API.

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

Patches:
Index: shishi/lib/nettle.c
diff -u shishi/lib/nettle.c:1.8 shishi/lib/nettle.c:1.9
--- shishi/lib/nettle.c:1.8     Sun Sep 14 07:44:44 2003
+++ shishi/lib/nettle.c Sun Sep 14 10:47:46 2003
@@ -278,13 +278,7 @@
 
   *out = xmalloc (inlen);
 
-  rc = arcfour_set_key (&ctx, keylen, key);
-  if (!rc)
-    {
-      shishi_error_printf (handle, "Nettle arcfour_set_key failed");
-      return SHISHI_CRYPTO_INTERNAL_ERROR;
-    }
-
+  arcfour_set_key (&ctx, keylen, key);
   arcfour_crypt (&ctx, inlen, in, *out);
 
   return SHISHI_OK;




reply via email to

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