Home GnuPG
Diffusion GnuPG 0e59195642eb

http: Add HTTP_FLAG_FORCE_TLS and http_get_tls_info.
0e59195642ebUnpublished

Unpublished Commit · Learn More

Not On Permanent Ref: This commit is not an ancestor of any permanent ref.

Description

http: Add HTTP_FLAG_FORCE_TLS and http_get_tls_info.

* common/http.c (http_parse_uri): Factor code out to ...
(parse_uri): here.  Add arg FORCE_TLS.
(do_parse_uri): Ditto.  Implement flag.
(http_get_tls_info): New.
(http_register_tls_ca): Allow clearing of the list.
(send_request): Use a default verification function.
* common/http.h (HTTP_FLAG_FORCE_TLS): New.
* common/t-http.c (main): Add several command line options.

Details

Provenance
wernerAuthored on May 2 2014, 3:37 PM
Parents
rG2def230231ab: common: Fix test for openpgp_oid_is_ed25519.
Branches
Unknown
Tags
Unknown

Event Timeline

Werner Koch <wk@gnupg.org> committed rG0e59195642eb: http: Add HTTP_FLAG_FORCE_TLS and http_get_tls_info. (authored by Werner Koch <wk@gnupg.org>).May 2 2014, 5:28 PM