diff options
| author | Werner Koch <[email protected]> | 2004-04-05 17:25:21 +0000 |
|---|---|---|
| committer | Werner Koch <[email protected]> | 2004-04-05 17:25:21 +0000 |
| commit | da89d93c77f695df5f7c1adf9f83bd8a8080cecf (patch) | |
| tree | 8fc475e66b54f469d0485cb52b5646e5540456b7 /sm/gpgsm.h | |
| parent | (STATUS_NEWSIG): New. (diff) | |
| download | gnupg-da89d93c77f695df5f7c1adf9f83bd8a8080cecf.tar.gz gnupg-da89d93c77f695df5f7c1adf9f83bd8a8080cecf.zip | |
* verify.c (gpgsm_verify): Print STATUS_NEWSIG for each signature.
* certchain.c (gpgsm_validate_chain) <gpgsm_cert_use_cer_p>: Do
not just warn if a cert is not suitable; bail out immediately.
* call-dirmngr.c (isvalid_status_cb): New.
(unhexify_fpr): New. Taken from ../g10/call-agent.c
(gpgsm_dirmngr_isvalid): Add new arg CTRL, changed caller to pass
it thru. Detect need to check the respondert cert and do that.
* certchain.c (gpgsm_validate_chain): Add new arg FLAGS. Changed
all callers.
Diffstat (limited to 'sm/gpgsm.h')
| -rw-r--r-- | sm/gpgsm.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/sm/gpgsm.h b/sm/gpgsm.h index 62bc05354..93487f002 100644 --- a/sm/gpgsm.h +++ b/sm/gpgsm.h @@ -222,7 +222,8 @@ int gpgsm_walk_cert_chain (ksba_cert_t start, ksba_cert_t *r_next); int gpgsm_is_root_cert (ksba_cert_t cert); int gpgsm_validate_chain (ctrl_t ctrl, ksba_cert_t cert, ksba_isotime_t r_exptime, - int listmode, FILE *listfp); + int listmode, FILE *listfp, + unsigned int flags); int gpgsm_basic_cert_check (ksba_cert_t cert); /*-- certlist.c --*/ @@ -288,7 +289,8 @@ int gpgsm_agent_learn (void); int gpgsm_agent_passwd (const char *hexkeygrip, const char *desc); /*-- call-dirmngr.c --*/ -int gpgsm_dirmngr_isvalid (ksba_cert_t cert, ksba_cert_t issuer_cert, +int gpgsm_dirmngr_isvalid (ctrl_t ctrl, + ksba_cert_t cert, ksba_cert_t issuer_cert, int use_ocsp); int gpgsm_dirmngr_lookup (ctrl_t ctrl, STRLIST names, void (*cb)(void*, ksba_cert_t), void *cb_value); |
