Skip to content

Commit

Permalink
Set set_default_verify_paths for SSL. Fixes: #450
Browse files Browse the repository at this point in the history
  • Loading branch information
toots committed Apr 3, 2020
1 parent b9a3497 commit fa898fa
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions CHANGES.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ Fixed:

- Fixed errors when installing bash-completion files (#1095)
- Fixed failures in `extract-replaygain` script.
- Set set_default_verify_paths for SSL. (#450)

1.4.1 (18-02-2020)
=====
Expand Down
1 change: 1 addition & 0 deletions src/tools/https.ml
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ struct
(* TODO: add option.. *)
Ssl.set_verify ctx [] (Some Ssl.client_verify_callback);
Ssl.set_verify_depth ctx 3;
ignore (Ssl.set_default_verify_paths ctx);
let socket = Ssl.open_connection_with_context ctx socketaddr in
begin
match bind_address with
Expand Down

0 comments on commit fa898fa

Please sign in to comment.