From: Marcus Brinkmann Date: Fri, 10 Oct 2003 09:08:23 +0000 (+0000) Subject: 2003-10-10 Marcus Brinkmann X-Git-Tag: gpgme-0-4-4~12 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=2250b42294a525d18301a8d4f6bf8ac45fadd8e3;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/gpgme/ChangeLog b/gpgme/ChangeLog index b67b339..3e36692 100644 --- a/gpgme/ChangeLog +++ b/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/gpgme/genkey.c b/gpgme/genkey.c index 9353213..229e7ac 100644 --- a/gpgme/genkey.c +++ b/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); }