STABLE-BRANCH-1-2 gnupg/g10 (encode.c g10.c getkey.c import.c keydb.h)

cvs user werner cvs@cvs.gnupg.org
Wed, 30 Oct 2002 11:02:38 +0100


    Date: Wednesday, October 30, 2002 @ 11:02:38
  Author: werner
    Path: /cvs/gnupg/gnupg/g10
     Tag: STABLE-BRANCH-1-2

Modified: encode.c g10.c getkey.c import.c keydb.h

* getkey.c (get_pubkey_direct): Renamed to...
(get_pubkey_fast): this and made extern.
(get_pubkey_byfprint_fast): New.
* import.c (import_one): Use get_pubkey_fast instead of
get_pubkey.  We don't need a merged key and actually this might
lead to recursions. --> There is still a problem, though.
(revocation_present): Likewise for search by fingerprint.

* g10.c (main): Try to create the trustdb even for non-colon-mode
list-key operations.  This is required because getkey needs to
know whether a a key is ultimately trusted.


----------+
 encode.c |   35 +++++++++++++++++++++++------------
 g10.c    |    7 -------
 getkey.c |   59 +++++++++++++++++++++++++++++++++++++++++++++++++++++++----
 import.c |    8 ++++----
 keydb.h  |    3 +++
 5 files changed, 85 insertions(+), 27 deletions(-)