gdsa: Fix the conversion of hashes to integers to conform to the spec.
[u/mdw/catacomb] / cc-sig.c
index 5439408..eecda46 100644 (file)
--- a/cc-sig.c
+++ b/cc-sig.c
@@ -756,6 +756,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);