From: Marcus Brinkmann Date: Sun, 4 May 2003 16:45:45 +0000 (+0000) Subject: 2003-05-04 Marcus Brinkmann X-Git-Tag: gpgme-0-4-1~46 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=97581ba4808e3dc5a7e34be2d30fdac602eaefb9;p=gpgme.git 2003-05-04 Marcus Brinkmann * key.c (_gpgme_key_add_sig): Initialize SIG->uid. --- diff --git a/gpgme/ChangeLog b/gpgme/ChangeLog index ee640b5..cdd6e97 100644 --- a/gpgme/ChangeLog +++ b/gpgme/ChangeLog @@ -1,5 +1,7 @@ 2003-05-04 Marcus Brinkmann + * key.c (_gpgme_key_add_sig): Initialize SIG->uid. + * gpgme.h (GpgmeError): Add deprecated values for GPGME_Invalid_Type and GPGME_Invalid_Mode. diff --git a/gpgme/key.c b/gpgme/key.c index 941c757..d8e7cee 100644 --- a/gpgme/key.c +++ b/gpgme/key.c @@ -258,6 +258,7 @@ _gpgme_key_add_sig (GpgmeKey key, char *src) return NULL; sig->keyid = sig->_keyid; sig->_keyid[16] = '\0'; + sig->uid = ((char *) sig) + sizeof (*sig); if (src) {