diff options
author | David Shaw <[email protected]> | 2005-04-24 16:05:41 +0000 |
---|---|---|
committer | David Shaw <[email protected]> | 2005-04-24 16:05:41 +0000 |
commit | 6d72a1c6494c2508f49b47a02fab21b1fa27a253 (patch) | |
tree | 64dc6a21286048b5853f6b35bae312aac7cbd3d2 /g10/trustdb.h | |
parent | * gnupg.spec.in: No longer any need to override libexecdir. The (diff) | |
download | gnupg-6d72a1c6494c2508f49b47a02fab21b1fa27a253.tar.gz gnupg-6d72a1c6494c2508f49b47a02fab21b1fa27a253.zip |
* trustdb.h, keyedit.c (keyedit_menu, menu_select_uid_namehash): Allow
specifying user ID via the namehash from --with-colons
--fixed-list-mode --list-keys. Suggested by Peter Palfrader.
Diffstat (limited to 'g10/trustdb.h')
-rw-r--r-- | g10/trustdb.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/g10/trustdb.h b/g10/trustdb.h index 8bcaae51e..710c13b22 100644 --- a/g10/trustdb.h +++ b/g10/trustdb.h @@ -37,6 +37,9 @@ #define TRUST_FLAG_DISABLED 128 /* d: key/uid disabled */ #define TRUST_FLAG_PENDING_CHECK 256 /* a check-trustdb is pending */ +#define NAMEHASH_HASH DIGEST_ALGO_RMD160 +#define NAMEHASH_LEN 20 + /*-- trustdb.c --*/ void register_trusted_keyid(u32 *keyid); void register_trusted_key( const char *string ); |