aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDavid Shaw <[email protected]>2002-03-04 03:18:07 +0000
committerDavid Shaw <[email protected]>2002-03-04 03:18:07 +0000
commit975e934a4c8c1aae7eae69b00232bad2f2e0ba08 (patch)
treec34f82bab72af38548217371ea4481d91ff31f5f
parentbumped version number (diff)
downloadgnupg-975e934a4c8c1aae7eae69b00232bad2f2e0ba08.tar.gz
gnupg-975e934a4c8c1aae7eae69b00232bad2f2e0ba08.zip
variable type tweak for RISC OS (from Stefan)
-rw-r--r--g10/ChangeLog5
-rw-r--r--g10/parse-packet.c13
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 <[email protected]>
+
+ * parse-packet.c (parse_signature): variable type tweak for RISC
+ OS (from Stefan)
+
2002-02-28 David Shaw <[email protected]>
* 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,