summaryrefslogtreecommitdiffstats
path: root/g10/import.c
diff options
context:
space:
mode:
authorDavid Shaw <dshaw@jabberwocky.com>2005-01-03 16:15:34 +0100
committerDavid Shaw <dshaw@jabberwocky.com>2005-01-03 16:15:34 +0100
commit14ce45565dfa69bb3a4c7d2c0d809f8e04273fa3 (patch)
tree2a17bd08361230cc22387c232f8a11d12e7d92fe /g10/import.c
parent* options.h, import.c (parse_import_options, delete_inv_parts): Add (diff)
downloadgnupg2-14ce45565dfa69bb3a4c7d2c0d809f8e04273fa3.tar.xz
gnupg2-14ce45565dfa69bb3a4c7d2c0d809f8e04273fa3.zip
* Makefile.am: Use @LIBUSB@ instead of @LIBUSB_LIBS@
* import.c (delete_inv_parts): Comments on import-unusable-sigs.
Diffstat (limited to 'g10/import.c')
-rw-r--r--g10/import.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/g10/import.c b/g10/import.c
index e0d57a508..d0c1c01ac 100644
--- a/g10/import.c
+++ b/g10/import.c
@@ -1565,6 +1565,12 @@ delete_inv_parts( const char *fname, KBNODE keyblock,
|| node->pkt->pkt.signature->keyid[1]!=keyid[1])
&& !(options&IMPORT_UNUSABLE_SIGS))
{
+ /* Note that we haven't necessarily checked this sig for
+ validity. We strip it anyway since if it was valid, it
+ would be expired. If it wasn't valid, it either would
+ be expired if it was valid, or was altered to the point
+ that it looked expired (and so doesn't matter terribly
+ much if it is expired or not). */
if(opt.verbose)
{
char *kid=m_strdup(keystr(keyid));