2003-05-04 Marcus Brinkmann <marcus@g10code.de>

* key.c (_gpgme_key_add_sig): Initialize SIG->uid.
This commit is contained in:
Marcus Brinkmann 2003-05-04 16:45:45 +00:00
parent c5097caeae
commit 97581ba480
2 changed files with 3 additions and 0 deletions

View File

@ -1,5 +1,7 @@
2003-05-04 Marcus Brinkmann <marcus@g10code.de>
* key.c (_gpgme_key_add_sig): Initialize SIG->uid.
* gpgme.h (GpgmeError): Add deprecated values for
GPGME_Invalid_Type and GPGME_Invalid_Mode.

View File

@ -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)
{