diff options
Diffstat (limited to 'g10')
-rw-r--r-- | g10/import.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/g10/import.c b/g10/import.c index 54d649b34..ba1c44a43 100644 --- a/g10/import.c +++ b/g10/import.c @@ -1261,7 +1261,7 @@ impex_filter_getval (void *cookie, const char *propname) snprintf (numbuf, sizeof numbuf, "%d", pk->pubkey_algo); result = numbuf; } - if (!strcmp (propname, "key_created")) + else if (!strcmp (propname, "key_created")) { snprintf (numbuf, sizeof numbuf, "%lu", (ulong)pk->timestamp); result = numbuf; |