* import.c (gpgsm_import): Just do a basic cert check before
authorWerner Koch <wk@gnupg.org>
Tue, 15 Jan 2002 13:02:47 +0000 (13:02 +0000)
committerWerner Koch <wk@gnupg.org>
Tue, 15 Jan 2002 13:02:47 +0000 (13:02 +0000)
commita9979e26a5705f73ef80ae453d2c1ba1362f0426
treec5a6f1feb34cabb1610165ddc144edbf9f6b608e
parent9dd0040085a46109d90bc80046ec35b8abee1e90
* import.c (gpgsm_import): Just do a basic cert check before
storing it.
* certpath.c (gpgsm_basic_cert_check): New.

* keydb.c (keydb_store_cert): New.
* import.c (store_cert): Removed and change all caller to use
the new function.
* verify.c (store_cert): Ditto.

* certlist.c (gpgsm_add_to_certlist): Validate the path

* certpath.c (gpgsm_validate_path): Check the trust list.
* call-agent.c (gpgsm_agent_istrusted): New.
sm/ChangeLog
sm/call-agent.c
sm/call-dirmngr.c
sm/certchain.c
sm/certlist.c
sm/certpath.c
sm/gpgsm.h
sm/import.c
sm/keydb.c
sm/keydb.h
sm/verify.c