mirror of
git://git.gnupg.org/gnupg.git
synced 2025-07-02 22:46:30 +02:00
* getkey.c (parse_auto_key_locate): Error if the user selects "cert" or
"pka" when those features are disabled. * misc.c (has_invalid_email_chars): Fix some C syntax that broke the compilers on SGI IRIX MIPS and Compaq/DEC OSF/1 Alpha. Noted by Nelson H. F. Beebe.
This commit is contained in:
parent
2385935afa
commit
78904c691c
3 changed files with 20 additions and 10 deletions
|
@ -1081,15 +1081,12 @@ unescape_percent_string (const unsigned char *s)
|
|||
}
|
||||
|
||||
|
||||
|
||||
|
||||
int
|
||||
has_invalid_email_chars (const char *s)
|
||||
{
|
||||
int at_seen=0;
|
||||
static char valid_chars[] = ("01234567890_-."
|
||||
"abcdefghijklmnopqrstuvwxyz"
|
||||
"ABCDEFGHIJKLMNOPQRSTUVWXYZ");
|
||||
const char *valid_chars=
|
||||
"01234567890_-.abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ";
|
||||
|
||||
for ( ; *s; s++ )
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue