http: Add callback to help logging of server certificates.
authorWerner Koch <wk@gnupg.org>
Mon, 19 May 2014 07:47:18 +0000 (09:47 +0200)
committerWerner Koch <wk@gnupg.org>
Mon, 19 May 2014 07:47:18 +0000 (09:47 +0200)
commit45f15b2d767d4068f79fd5b123e9eeae08a0616d
tree458094074eb11876fbc1e7c8d55f0866ddf09d2b
parentd2d9d4fb60e3f2160af6252335364d3aac4b7d17
http: Add callback to help logging of server certificates.

* common/http.c (http_session_s): Add field cert_log_cb.
(http_session_set_log_cb): New.
(http_verify_server_credentials): Call callback.
common/http.c
common/http.h