X-Git-Url: https://git.distorted.org.uk/~mdw/catacomb/blobdiff_plain/45c0fd363937c6e9b05da04a9167e9912c05ca0c..95ccefe3ce59a0773f915aca6948d5b6f1f7c882:/cc-sig.c diff --git a/cc-sig.c b/cc-sig.c index 54394082..54b58f3b 100644 --- a/cc-sig.c +++ b/cc-sig.c @@ -29,6 +29,8 @@ /*----- Header files ------------------------------------------------------*/ +#define _FILE_OFFSET_BITS 64 + #include #include @@ -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);