mirror of
git://git.gnupg.org/gnupg.git
synced 2025-07-03 22:56:33 +02:00
Added a way to update preferences
This commit is contained in:
parent
aa9da2b07e
commit
a255ea76ae
11 changed files with 325 additions and 22 deletions
|
@ -925,7 +925,7 @@ make_keysig_packet( PKT_signature **ret_sig, PKT_public_key *pk,
|
|||
|
||||
/****************
|
||||
* Create a new signature packet based on an existing one.
|
||||
* Only user ID signatureare supportted for now.
|
||||
* Only user ID signaturs are supported for now.
|
||||
* TODO: Merge this with make_keysig_packet.
|
||||
*/
|
||||
int
|
||||
|
@ -967,9 +967,9 @@ update_keysig_packet( PKT_signature **ret_sig,
|
|||
if ( sig->version >= 4 && mksubpkt)
|
||||
rc = (*mksubpkt)(sig, opaque);
|
||||
|
||||
/* we increasethe timestamp by one second so that a future import
|
||||
of this key will replace the existing one. We make sure that
|
||||
we don't produce a timestamp in the future */
|
||||
/* we increase the timestamp by one second so that a future import
|
||||
of this key will replace the existing one. We also make sure that
|
||||
we don't create a timestamp in the future */
|
||||
sig->timestamp++;
|
||||
while (sig->timestamp >= make_timestamp())
|
||||
sleep (1);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue