mirror of
git://git.gnupg.org/gnupg.git
synced 2025-07-02 22:46:30 +02:00
* keydb.h, kbnode.c (undelete_kbnode): New function to undelete a
kbnode. * trustdb.c (clean_uids_from_key): Further tweak the algorithm so that the last good selfsig is kept when the chosen selfsig is a revocation.
This commit is contained in:
parent
475107dff3
commit
31522bac1d
4 changed files with 53 additions and 10 deletions
|
@ -1,5 +1,6 @@
|
|||
/* kbnode.c - keyblock node utility functions
|
||||
* Copyright (C) 1998, 1999, 2000, 2001 Free Software Foundation, Inc.
|
||||
* Copyright (C) 1998, 1999, 2000, 2001, 2002,
|
||||
* 2005 Free Software Foundation, Inc.
|
||||
*
|
||||
* This file is part of GnuPG.
|
||||
*
|
||||
|
@ -113,6 +114,11 @@ delete_kbnode( KBNODE node )
|
|||
node->private_flag |= 1;
|
||||
}
|
||||
|
||||
void
|
||||
undelete_kbnode( KBNODE node )
|
||||
{
|
||||
node->private_flag &= ~1;
|
||||
}
|
||||
|
||||
|
||||
/****************
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue