summaryrefslogtreecommitdiff
path: root/src/ibrowse
diff options
context:
space:
mode:
authorAdam Kocoloski <kocolosk@apache.org>2010-07-29 00:02:22 +0000
committerAdam Kocoloski <kocolosk@apache.org>2010-07-29 00:02:22 +0000
commit4a34358f9d15d0c92fac4c2a013841129bc76b0c (patch)
tree51a2aa1f64a1ae4497e7739054cad06ffbaa8ce6 /src/ibrowse
parent5accdbdf298af0a8a45287bcdc2cda804c9835bc (diff)
more relaxed verification of SSL chains, COUCHDB-840
git-svn-id: https://svn.apache.org/repos/asf/couchdb/branches/1.0.x@980270 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'src/ibrowse')
-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)),