mirror of git://git.gnupg.org/gnupg.git
g10: Fix import/export filter property match.
* g10/import.c (impex_filter_getval): Fix to "else if". Signed-off-by: NIIBE Yutaka <gniibe@fsij.org>
This commit is contained in:
parent
36c4e540f1
commit
af5f8ecf51
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue