projects
/
u
/
mdw
/
catacomb
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
key-data.c (key_struct{set,steal}): Assert no other references.
[u/mdw/catacomb]
/
cc-kem.c
diff --git
a/cc-kem.c
b/cc-kem.c
index
360977a
..
63199fc
100644
(file)
--- a/
cc-kem.c
+++ b/
cc-kem.c
@@
-29,6
+29,8
@@
/*----- Header files ------------------------------------------------------*/
/*----- Header files ------------------------------------------------------*/
+#define _FILE_OFFSET_BITS 64
+
#include <stdlib.h>
#include <mLib/alloc.h>
#include <stdlib.h>
#include <mLib/alloc.h>
@@
-502,6
+504,7
@@
k_found:;
if (!ko->kf) {
kd = k->k;
key_incref(kd);
if (!ko->kf) {
kd = k->k;
key_incref(kd);
+ kp = 0;
} else {
kd = xmalloc(ko->kdsz);
kp = key_fetchinit(ko->kf, 0, kd);
} else {
kd = xmalloc(ko->kdsz);
kp = key_fetchinit(ko->kf, 0, kd);