mirror of
git://git.gnupg.org/gnupg.git
synced 2025-07-14 21:47:19 +02:00
Minor cleanups.
Implemented key helper kdns
This commit is contained in:
parent
ba63cfa79b
commit
86f35a55d0
17 changed files with 768 additions and 27 deletions
|
@ -49,7 +49,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;
|
||||
}
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue