diff options
author | Werner Koch <[email protected]> | 1999-05-22 20:54:54 +0000 |
---|---|---|
committer | Werner Koch <[email protected]> | 1999-05-22 20:54:54 +0000 |
commit | 9131432b4d17af907b9a235985864f1e88f571ff (patch) | |
tree | 64a60b3115ee1bfcba806c4b07919c6819e0c702 /g10/keyedit.c | |
parent | See ChangeLog: Thu May 20 14:04:08 CEST 1999 Werner Koch (diff) | |
download | gnupg-9131432b4d17af907b9a235985864f1e88f571ff.tar.gz gnupg-9131432b4d17af907b9a235985864f1e88f571ff.zip |
See ChangeLog: Sat May 22 22:47:26 CEST 1999 Werner Koch
Diffstat (limited to '')
-rw-r--r-- | g10/keyedit.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/g10/keyedit.c b/g10/keyedit.c index a8e783f36..55bd73a08 100644 --- a/g10/keyedit.c +++ b/g10/keyedit.c @@ -475,6 +475,8 @@ change_passphrase( KBNODE keyblock ) * There are some keys out (due to a bug in gnupg), where the sequence * of the packets is wrong. This function fixes that. * Returns: true if the keyblock has been fixed. + * + * Note: This function does not work if there is more than one user ID. */ static int fix_keyblock( KBNODE keyblock ) @@ -603,6 +605,8 @@ keyedit_menu( const char *username, STRLIST locusr, STRLIST commands ) goto leave; if( fix_keyblock( keyblock ) ) modified++; + if( collapse_uids( &keyblock ) ) + modified++; if( sec_keyblock ) { /* check that they match */ /* FIXME: check that they both match */ |