1
0
Fork 0
mirror of git://git.gnupg.org/gnupg.git synced 2025-07-02 22:46:30 +02:00

preparing a release

This commit is contained in:
Werner Koch 2009-01-12 09:18:27 +00:00
parent 7784e86a66
commit 4adb5c03e7
35 changed files with 397 additions and 375 deletions

View file

@ -2696,8 +2696,13 @@ finish_lookup (GETKEY_CTX ctx)
}
if (DBG_CACHE)
log_debug( "\tsubkey looks fine\n");
if ( pk->timestamp > latest_date ) {
log_debug( "\tsubkey might be fine\n");
/* In case a key has a timestamp of 0 set, we make sure
that it is used. A better change would be to compare
">=" but that might also change the selected keys and
is as such a more intrusive change. */
if ( pk->timestamp > latest_date
|| (!pk->timestamp && !latest_date)) {
latest_date = pk->timestamp;
latest_key = k;
}