mirror of
git://git.gnupg.org/gnupg.git
synced 2025-04-13 22:21:09 +02:00
variable type tweak for RISC OS (from Stefan)
This commit is contained in:
parent
c4ce7ce3e8
commit
975e934a4c
@ -1,3 +1,8 @@
|
|||||||
|
2002-03-03 David Shaw <dshaw@jabberwocky.com>
|
||||||
|
|
||||||
|
* parse-packet.c (parse_signature): variable type tweak for RISC
|
||||||
|
OS (from Stefan)
|
||||||
|
|
||||||
2002-02-28 David Shaw <dshaw@jabberwocky.com>
|
2002-02-28 David Shaw <dshaw@jabberwocky.com>
|
||||||
|
|
||||||
* getkey.c (check_revocation_keys): New function to check a
|
* getkey.c (check_revocation_keys): New function to check a
|
||||||
|
@ -1245,20 +1245,21 @@ parse_signature( IOBUF inp, int pkttype, unsigned long pktlen,
|
|||||||
if(p && *p==0)
|
if(p && *p==0)
|
||||||
sig->flags.revocable=0;
|
sig->flags.revocable=0;
|
||||||
|
|
||||||
/* We accept this subpacket from either the hashed or unhashed
|
/* We accept the exportable subpacket from either the hashed
|
||||||
areas as older versions of gpg put it in the unhashed area.
|
or unhashed areas as older versions of gpg put it in the
|
||||||
In theory, anyway, we should never see this packet off of a
|
unhashed area. In theory, anyway, we should never see this
|
||||||
local keyring. */
|
packet off of a local keyring. */
|
||||||
|
|
||||||
p=parse_sig_subpkt2(sig,SIGSUBPKT_EXPORTABLE,NULL);
|
p=parse_sig_subpkt2(sig,SIGSUBPKT_EXPORTABLE,NULL);
|
||||||
if(p && *p==0)
|
if(p && *p==0)
|
||||||
sig->flags.exportable=0;
|
sig->flags.exportable=0;
|
||||||
|
|
||||||
/* Find all revokation keys */
|
/* Find all revokation keys. Back to hashed area only. */
|
||||||
if(sig->sig_class==0x1F)
|
if(sig->sig_class==0x1F)
|
||||||
{
|
{
|
||||||
struct revocation_key *revkey;
|
struct revocation_key *revkey;
|
||||||
int len,seq=0;
|
int seq=0;
|
||||||
|
size_t len;
|
||||||
|
|
||||||
while((revkey=
|
while((revkey=
|
||||||
(struct revocation_key *)enum_sig_subpkt(sig->hashed,
|
(struct revocation_key *)enum_sig_subpkt(sig->hashed,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user