mirror of
git://git.gnupg.org/gnupg.git
synced 2025-01-18 14:17:03 +01:00
* gpgkeys_hkp.c: (parse_hkp_index): Use same types on all platforms.
This was probably leftover from earlier code where the typing mattered.
This commit is contained in:
parent
a119391e26
commit
262a8719a4
@ -1,5 +1,9 @@
|
|||||||
2002-08-28 David Shaw <dshaw@jabberwocky.com>
|
2002-08-28 David Shaw <dshaw@jabberwocky.com>
|
||||||
|
|
||||||
|
* gpgkeys_hkp.c: (parse_hkp_index): Use same types on all
|
||||||
|
platforms. This was probably leftover from earlier code where the
|
||||||
|
typing mattered.
|
||||||
|
|
||||||
* gpgkeys_hkp.c: Overall cleanup from iobuf conversion. Be
|
* gpgkeys_hkp.c: Overall cleanup from iobuf conversion. Be
|
||||||
consistent in m_alloc and malloc usage. Remove include-disabled
|
consistent in m_alloc and malloc usage. Remove include-disabled
|
||||||
(meaningless on HKP). RISC OS tweak.
|
(meaningless on HKP). RISC OS tweak.
|
||||||
|
@ -378,12 +378,7 @@ static int
|
|||||||
parse_hkp_index(IOBUF buffer,char *line)
|
parse_hkp_index(IOBUF buffer,char *line)
|
||||||
{
|
{
|
||||||
static int open=0,revoked=0;
|
static int open=0,revoked=0;
|
||||||
static char *key=NULL,*type=NULL;
|
static char *key=NULL,*type=NULL,*uid=NULL;
|
||||||
#ifdef __riscos__
|
|
||||||
static char *uid=NULL;
|
|
||||||
#else
|
|
||||||
static unsigned char *uid=NULL;
|
|
||||||
#endif
|
|
||||||
static u32 bits,createtime;
|
static u32 bits,createtime;
|
||||||
int ret=0;
|
int ret=0;
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user