From 975e934a4c8c1aae7eae69b00232bad2f2e0ba08 Mon Sep 17 00:00:00 2001 From: David Shaw Date: Mon, 4 Mar 2002 03:18:07 +0000 Subject: variable type tweak for RISC OS (from Stefan) --- g10/ChangeLog | 5 +++++ g10/parse-packet.c | 13 +++++++------ 2 files changed, 12 insertions(+), 6 deletions(-) diff --git a/g10/ChangeLog b/g10/ChangeLog index 12b923f2d..a3fb38a19 100644 --- a/g10/ChangeLog +++ b/g10/ChangeLog @@ -1,3 +1,8 @@ +2002-03-03 David Shaw + + * parse-packet.c (parse_signature): variable type tweak for RISC + OS (from Stefan) + 2002-02-28 David Shaw * getkey.c (check_revocation_keys): New function to check a diff --git a/g10/parse-packet.c b/g10/parse-packet.c index ef561976d..68754c25f 100644 --- a/g10/parse-packet.c +++ b/g10/parse-packet.c @@ -1245,20 +1245,21 @@ parse_signature( IOBUF inp, int pkttype, unsigned long pktlen, if(p && *p==0) sig->flags.revocable=0; - /* We accept this subpacket from either the hashed or unhashed - areas as older versions of gpg put it in the unhashed area. - In theory, anyway, we should never see this packet off of a - local keyring. */ + /* We accept the exportable subpacket from either the hashed + or unhashed areas as older versions of gpg put it in the + unhashed area. In theory, anyway, we should never see this + packet off of a local keyring. */ p=parse_sig_subpkt2(sig,SIGSUBPKT_EXPORTABLE,NULL); if(p && *p==0) sig->flags.exportable=0; - /* Find all revokation keys */ + /* Find all revokation keys. Back to hashed area only. */ if(sig->sig_class==0x1F) { struct revocation_key *revkey; - int len,seq=0; + int seq=0; + size_t len; while((revkey= (struct revocation_key *)enum_sig_subpkt(sig->hashed, -- cgit v1.2.3