diff options
| author | David Shaw <[email protected]> | 2002-11-13 17:43:27 +0000 |
|---|---|---|
| committer | David Shaw <[email protected]> | 2002-11-13 17:43:27 +0000 |
| commit | fbffa8209b79a2a1815c4c692b2bec709c0f24c7 (patch) | |
| tree | 8ed3a1cb26cbc91bd176beb7a20bdb66232f5b26 /g10/keydb.h | |
| parent | * exec.c [__CYGWIN32__]: Keep cygwin separate from Mingw32; we don't need (diff) | |
| download | gnupg-fbffa8209b79a2a1815c4c692b2bec709c0f24c7.tar.gz gnupg-fbffa8209b79a2a1815c4c692b2bec709c0f24c7.zip | |
* encode.c (encode_simple): Make sure that files larger than about 4G use
partial length encoding. This is required because OpenPGP allows only for
32 bit length fields. From Werner on stable branch.
* getkey.c (get_pubkey_direct): Renamed to... (get_pubkey_fast): this and
made extern. (get_pubkey_byfprint_fast): New. From Werner on stable
branch.
* keydb.h, 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. (revocation_present): Likewise for search by fingerprint.
From Werner on stable branch.
* 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. From Werner on stable branch.
Diffstat (limited to 'g10/keydb.h')
| -rw-r--r-- | g10/keydb.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/g10/keydb.h b/g10/keydb.h index c4b12dde5..a3d48508c 100644 --- a/g10/keydb.h +++ b/g10/keydb.h @@ -195,6 +195,7 @@ int classify_user_id( const char *name, KEYDB_SEARCH_DESC *desc); void cache_public_key( PKT_public_key *pk ); void getkey_disable_caches(void); int get_pubkey( PKT_public_key *pk, u32 *keyid ); +int get_pubkey_fast ( PKT_public_key *pk, u32 *keyid ); KBNODE get_pubkeyblock( u32 *keyid ); int get_pubkey_byname( PKT_public_key *pk, const char *name, KBNODE *ret_keyblock, KEYDB_HANDLE *ret_kdbhd); @@ -206,6 +207,8 @@ int get_seckey( PKT_secret_key *sk, u32 *keyid ); int get_primary_seckey( PKT_secret_key *sk, u32 *keyid ); int get_pubkey_byfprint( PKT_public_key *pk, const byte *fprint, size_t fprint_len ); +int get_pubkey_byfprint_fast (PKT_public_key *pk, + const byte *fprint, size_t fprint_len); int get_keyblock_byfprint( KBNODE *ret_keyblock, const byte *fprint, size_t fprint_len ); int get_keyblock_bylid( KBNODE *ret_keyblock, ulong lid ); |
