diff options
author | Werner Koch <[email protected]> | 2004-02-17 15:05:04 +0000 |
---|---|---|
committer | Werner Koch <[email protected]> | 2004-02-17 15:05:04 +0000 |
commit | 45a817bf4a6f7624d49cd61247b7efeb3b7ad726 (patch) | |
tree | fc19cfea9fba63e9e8455fb9f8ad2ff8d8bf6fa0 /sm/verify.c | |
parent | Added new options (diff) | |
download | gnupg-45a817bf4a6f7624d49cd61247b7efeb3b7ad726.tar.gz gnupg-45a817bf4a6f7624d49cd61247b7efeb3b7ad726.zip |
* gpgsm.c: New option --with-md5-fingerprint.
* keylist.c (list_cert_std): Print MD5 fpr.
* gpgsm.c: New options --with-validation.
* server.c (option_handler): New option "with-validation".
* keylist.c (list_cert_std, list_internal_keys): New args CTRL and
WITH_VALIDATION. Changed callers to set it.
(list_external_cb, list_external_keys): Pass CTRL to the callback.
(list_cert_colon): Add arg CTRL. Check validation if requested.
* certchain.c (unknown_criticals, allowed_ca, check_cert_policy)
(gpgsm_validate_chain): New args LISTMODE and FP.
(do_list): New helper for info output.
(find_up): New arg FIND_NEXT.
(gpgsm_validate_chain): After a bad signature try again with other
CA certificates.
* import.c (print_imported_status): New arg NEW_CERT. Print
additional STATUS_IMPORT_OK becuase that is what gpgme expects.
(check_and_store): Always call above function after import.
* server.c (get_status_string): Added STATUS_IMPORT_OK.
Diffstat (limited to '')
-rw-r--r-- | sm/verify.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sm/verify.c b/sm/verify.c index 2a95c81e7..bd334908e 100644 --- a/sm/verify.c +++ b/sm/verify.c @@ -458,7 +458,7 @@ gpgsm_verify (CTRL ctrl, int in_fd, int data_fd, FILE *out_fp) if (DBG_X509) log_debug ("signature okay - checking certs\n"); - rc = gpgsm_validate_chain (ctrl, cert, keyexptime); + rc = gpgsm_validate_chain (ctrl, cert, keyexptime, 0, NULL); if (gpg_err_code (rc) == GPG_ERR_CERT_EXPIRED) { gpgsm_status (ctrl, STATUS_EXPKEYSIG, NULL); |