diff options
author | NIIBE Yutaka <gniibe@fsij.org> | 2017-04-17 02:08:31 +0200 |
---|---|---|
committer | NIIBE Yutaka <gniibe@fsij.org> | 2017-04-17 02:08:31 +0200 |
commit | af5f8ecf51f5e1f33e832d4946d02313b78a0536 (patch) | |
tree | f3c78ace4283f2c95b6e5de12bed60faa26549e7 /g10 | |
parent | agent: Clean up error initialize/return. (diff) | |
download | gnupg2-af5f8ecf51f5e1f33e832d4946d02313b78a0536.tar.xz gnupg2-af5f8ecf51f5e1f33e832d4946d02313b78a0536.zip |
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>
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; |