chiark / gitweb /
fix c violations detected by newer gcc - urgh
authorian <ian>
Thu, 16 Dec 2004 00:17:32 +0000 (00:17 +0000)
committerian <ian>
Thu, 16 Dec 2004 00:17:32 +0000 (00:17 +0000)
crypto/algtables.c
crypto/crypto.c

index 24ebba7..bb111de 100644 (file)
     name##_set_key(sch, keylen, key);                                        \
   }                                                                          \
   static void alg_##name##_encr(const void *sch, const void *in, void *out) { \
-    ##name##_encrypt((void*)sch, NAME##_BLOCK_SIZE, out, in);                \
+    name##_encrypt((void*)sch, NAME##_BLOCK_SIZE, out, in);                  \
   }                                                                          \
   static void alg_##name##_decr(const void *sch, const void *in, void *out) { \
-    ##name##_decrypt((void*)sch, NAME##_BLOCK_SIZE, out, in);                \
+    name##_decrypt((void*)sch, NAME##_BLOCK_SIZE, out, in);                  \
   }
   NETTLE_BLOCKCIPHERS
 #undef DO
index 49a409f..97f4d1d 100644 (file)
@@ -92,7 +92,7 @@ int do_padmethodinfo_rfc2406(ClientData cd, Tcl_Interp *ip,
 
     *ok= 1;
 
-  quit:
+  quit:;
 
   }