summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorAdam Kocoloski <kocolosk@apache.org>2010-07-29 00:02:08 +0000
committerAdam Kocoloski <kocolosk@apache.org>2010-07-29 00:02:08 +0000
commit850d4e412da80d6f6a2c23f71a40a85329561a34 (patch)
tree92255528e505e325397c8cf964fc16441bb8f58b /src
parentccd81fdcd98c02ca1396e4752831f3a21b66ce3b (diff)
more relaxed verification of SSL chains, COUCHDB-840
git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@980269 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'src')
-rw-r--r--src/ibrowse/ibrowse_http_client.erl2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ibrowse/ibrowse_http_client.erl b/src/ibrowse/ibrowse_http_client.erl
index a767b84e..65d9cb9c 100644
--- a/src/ibrowse/ibrowse_http_client.erl
+++ b/src/ibrowse/ibrowse_http_client.erl
@@ -119,7 +119,7 @@ init(#url{host=Host, port=Port, protocol=Protocol}) ->
host = Host,
port = Port,
is_ssl = (Protocol == https),
- ssl_options = [{ssl_imp, new}]
+ ssl_options = [{ssl_imp, new}, {depth, 9}]
},
put(ibrowse_trace_token, [Host, $:, integer_to_list(Port)]),
put(my_trace_flag, ibrowse_lib:get_trace_status(Host, Port)),