Timos fixes

This commit is contained in:
Werner Koch 2001-06-16 11:08:32 +00:00
parent c3850ce332
commit c898d18ad8
4 changed files with 12 additions and 5 deletions

2
TODO
View File

@ -4,3 +4,5 @@
* Allow to use GTK's main loop instead of the select stuff in * Allow to use GTK's main loop instead of the select stuff in
wait.c wait.c
* add locking to the key cache?

View File

@ -31,7 +31,7 @@ AM_MAINTAINER_MODE
# AGE, set REVISION to 0. # AGE, set REVISION to 0.
# 3. Interfaces removed (BAD, breaks upward compatibility): Increment # 3. Interfaces removed (BAD, breaks upward compatibility): Increment
# CURRENT, set AGE and REVISION to 0. # CURRENT, set AGE and REVISION to 0.
AM_INIT_AUTOMAKE(gpgme,0.2.2) AM_INIT_AUTOMAKE(gpgme,0.2.2a)
LIBGPGME_LT_CURRENT=3 LIBGPGME_LT_CURRENT=3
LIBGPGME_LT_AGE=3 LIBGPGME_LT_AGE=3
LIBGPGME_LT_REVISION=1 LIBGPGME_LT_REVISION=1

View File

@ -1,3 +1,8 @@
2001-06-15 Werner Koch <wk@gnupg.org>
* keylist.c (set_userid_flags): Fixed the assigned values. Kudos
to Timo for pointing this out.
2001-06-01 Werner Koch <wk@gnupg.org> 2001-06-01 Werner Koch <wk@gnupg.org>
* debug.c (_gpgme_debug_begin): Fixed a /tmp race. Noted by * debug.c (_gpgme_debug_begin): Fixed a /tmp race. Noted by

View File

@ -89,10 +89,10 @@ set_userid_flags ( GpgmeKey key, const char *s )
case 'r': key->uids->revoked = 1; break; case 'r': key->uids->revoked = 1; break;
case 'i': key->uids->invalid = 1; break; case 'i': key->uids->invalid = 1; break;
case 'n': key->uids->validity = 1; break; case 'n': key->uids->validity = GPGME_VALIDITY_NEVER; break;
case 'm': key->uids->validity = 2; break; case 'm': key->uids->validity = GPGME_VALIDITY_MARGINAL; break;
case 'f': key->uids->validity = 3; break; case 'f': key->uids->validity = GPGME_VALIDITY_FULL; break;
case 'u': key->uids->validity = 4; break; case 'u': key->uids->validity = GPGME_VALIDITY_ULTIMATE; break;
} }
} }
} }