cc-hash.c: New file containing hash-related code from hashsum and dsig.
[u/mdw/catacomb] / cc-sig.c
index 5439408..54b58f3 100644 (file)
--- a/cc-sig.c
+++ b/cc-sig.c
@@ -29,6 +29,8 @@
 
 /*----- Header files ------------------------------------------------------*/
 
+#define _FILE_OFFSET_BITS 64
+
 #include <stdlib.h>
 
 #include <mLib/report.h>
@@ -756,6 +758,7 @@ s_found:;
   if (!so->kf) {
     kd = k->k;
     key_incref(kd);
+    kp = 0;
   } else {
     kd = xmalloc(so->kdsz);
     kp = key_fetchinit(so->kf, 0, kd);