From d4993d4c6a8051483b68ae7a1d58d15913e6344e Mon Sep 17 00:00:00 2001 From: Marcus Brinkmann Date: Sun, 4 May 2003 16:45:45 +0000 Subject: [PATCH] 2003-05-04 Marcus Brinkmann * key.c (_gpgme_key_add_sig): Initialize SIG->uid. --- trunk/gpgme/ChangeLog | 2 ++ trunk/gpgme/key.c | 1 + 2 files changed, 3 insertions(+) diff --git a/trunk/gpgme/ChangeLog b/trunk/gpgme/ChangeLog index ee640b5..cdd6e97 100644 --- a/trunk/gpgme/ChangeLog +++ b/trunk/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/trunk/gpgme/key.c b/trunk/gpgme/key.c index 941c757..d8e7cee 100644 --- a/trunk/gpgme/key.c +++ b/trunk/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) { -- 2.26.2