[prev in list] [next in list] [prev in thread] [next in thread] 

List:       pgp-keyserver-folk
Subject:    Einen hab' i no
From:       Marcel Waldvogel <mwa () tik ! ee ! ethz ! ch>
Date:       1999-06-11 21:27:25
[Download RAW message or body]

I've run into one more place in pksd 0.9.4, where keyids are being
looked at. Here's a patch (sorry to split it into so many mails).

-Marcel

["moah.diff" (text/plain)]

--- kd_search.c.~1~	Wed Jun  9 17:17:24 1999
+++ kd_search.c	Fri Jun 11 23:23:45 1999
@@ -377,16 +377,21 @@
 	 ddesc keyid;
 	 long sigclass;
 	 long sig_time;
 	 sigs_elem *se;
 	 int ret;
+	 static unsigned char maxid[8] = {0xff, 0xff, 0xff, 0xff,
+                                          0xff, 0xff, 0xff, 0xff};
 
 	 if (s->ignoring)
 	    break;
 
 	 /* extract the keyid and sigclass from the signature */
-
+	 /* if no keyid is found, take maxid */
+	 keyid.data = maxid;
+	 keyid.size = 8;
+	 keyid.offset = 0;
 	 if (!decode_sig(packet, plen, &keyid, &sigclass, &sig_time)) {
              soft_err(s,
                       "Key block corrupt: signature decode failed");
 	    return(1);
 	 }


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic