More fixes

Simon Josefsson jas@extundo.com
Mon, 07 Jul 2003 05:25:17 +0200


Index: Makefile.am
===================================================================
RCS file: /cvs/gnupg/libgcrypt/tests/Makefile.am,v
retrieving revision 1.10
diff -u -p -r1.10 Makefile.am
--- Makefile.am	2 Jul 2003 16:00:53 -0000	1.10
+++ Makefile.am	7 Jul 2003 03:17:21 -0000
@@ -25,8 +25,6 @@ TESTS = ac basic tsexp keygen pubkey
 
 EXTRA_DIST = 
 
-LIBS = -lpthread
-
 INCLUDES = -I$(top_srcdir)/src
 LDADD = ../src/libgcrypt.la
 
Index: basic.c
===================================================================
RCS file: /cvs/gnupg/libgcrypt/tests/basic.c,v
retrieving revision 1.22
diff -u -p -r1.22 basic.c
--- basic.c	18 Jun 2003 18:27:59 -0000	1.22
+++ basic.c	7 Jul 2003 03:17:21 -0000
@@ -463,9 +463,10 @@ check_one_cipher (int algo, int mode, in
   gcry_cipher_hd_t hd;
   char key[32], plain[16], in[16], out[16];
   int keylen;
+  gpg_error_t err = 0;
+
   memcpy (key, "0123456789abcdef.,;/[]{}-=ABCDEF", 32);
   memcpy (plain, "foobar42FOOBAR17", 16);
-  gpg_error_t err = 0;
 
   keylen = gcry_cipher_get_algo_keylen (algo);
   if (!keylen)