From: Marcus Brinkmann Date: Fri, 10 Oct 2003 09:08:23 +0000 (+0000) Subject: 2003-10-10 Marcus Brinkmann X-Git-Tag: gpgme-1.2.0@1385~514 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=aaf74015620a6813fab2fb929dde3aae04492a0f;p=gpgme.git 2003-10-10 Marcus Brinkmann * genkey.c (get_key_parameter): Make a copy of the key parameters. Submitted by Miguel Coca . --- diff --git a/trunk/gpgme/ChangeLog b/trunk/gpgme/ChangeLog index b67b339..3e36692 100644 --- a/trunk/gpgme/ChangeLog +++ b/trunk/gpgme/ChangeLog @@ -1,3 +1,8 @@ +2003-10-10 Marcus Brinkmann + + * genkey.c (get_key_parameter): Make a copy of the key parameters. + Submitted by Miguel Coca . + 2003-10-06 Marcus Brinkmann * data-compat.c: Include before for diff --git a/trunk/gpgme/genkey.c b/trunk/gpgme/genkey.c index 9353213..229e7ac 100644 --- a/trunk/gpgme/genkey.c +++ b/trunk/gpgme/genkey.c @@ -145,7 +145,7 @@ get_key_parameter (const char *parms, gpgme_data_t *key_parameter) content++; return gpgme_data_new_from_mem (key_parameter, content, - endtag - content, 0); + endtag - content, 1); }