mirror of
git://git.gnupg.org/gnupg.git
synced 2025-07-02 22:46:30 +02:00
* gpgkeys_ldap.c (get_key): Some compilers (RISC OS, HPUX c89) don't like
using variables as array initializers.
This commit is contained in:
parent
b32a1d90e1
commit
e892058dba
2 changed files with 6 additions and 8 deletions
|
@ -174,16 +174,11 @@ int get_key(char *getkey)
|
|||
int ret=-1,err,count;
|
||||
struct keylist *dupelist=NULL;
|
||||
char search[62];
|
||||
#ifndef __riscos__
|
||||
char *attrs[]={pgpkeystr,"pgpuserid","pgpkeyid","pgpcertid","pgprevoked",
|
||||
char *attrs[]={"replaceme","pgpuserid","pgpkeyid","pgpcertid","pgprevoked",
|
||||
"pgpdisabled","pgpkeycreatetime","modifytimestamp",
|
||||
"pgpkeysize","pgpkeytype",NULL};
|
||||
#else
|
||||
char *attrs[]={"foobar","pgpuserid","pgpkeyid","pgpcertid","pgprevoked",
|
||||
"pgpdisabled","pgpkeycreatetime","modifytimestamp",
|
||||
"pgpkeysize","pgpkeytype",NULL};
|
||||
attrs[0]=pgpkeystr;
|
||||
#endif
|
||||
attrs[0]=pgpkeystr; /* Some compilers don't like using variables as
|
||||
array initializers. */
|
||||
|
||||
/* Build the search string */
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue