1
0
Fork 0
mirror of git://git.gnupg.org/gnupg.git synced 2025-07-02 22:46:30 +02:00

Use ADNS for PKA and SRV records if no other resolver is available.

This commit is contained in:
Werner Koch 2009-12-07 15:52:27 +00:00
parent 49b00ffd67
commit 85d778b9f6
9 changed files with 359 additions and 186 deletions

View file

@ -1,3 +1,7 @@
2009-12-07 Werner Koch <wk@g10code.com>
* no-libgcrypt.c (gcry_strdup): Actually copy the string.
2009-11-23 Werner Koch <wk@g10code.com>
* gpgconf-comp.c (gc_options_gpg): Add default_pubkey_algo.

View file

@ -55,7 +55,10 @@ gcry_xmalloc (size_t n)
char *
gcry_strdup (const char *string)
{
return malloc (strlen (string)+1);
char *p = malloc (strlen (string)+1);
if (p)
strcpy (p, string);
return p;
}