diff --git a/gpgme/ChangeLog b/gpgme/ChangeLog index ee640b5e..cdd6e97f 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 941c7573..d8e7ceee 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) {