summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBernhard Posselt <nukeawhale@gmail.com>2013-03-01 12:42:52 -0800
committerBernhard Posselt <nukeawhale@gmail.com>2013-03-01 12:42:52 -0800
commit7f7f447ab0f4a82b74ff840dc5b55abdc6fea74b (patch)
tree7e1141f94a6e45490c1d21f26450b75ee2d92345
parent2e2cf28d30b0f1afbfe000aaeea5c2ced365a183 (diff)
parent39b9ed50d7b13bc54223b7b3d63d65240c3c9041 (diff)
downloadnextcloud-server-7f7f447ab0f4a82b74ff840dc5b55abdc6fea74b.tar.gz
nextcloud-server-7f7f447ab0f4a82b74ff840dc5b55abdc6fea74b.zip
Merge pull request #2014 from owncloud/fixing-1909-master
for this self test we don't care if the ssl certificate is self signed a...
-rwxr-xr-xlib/util.php3
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/util.php b/lib/util.php
index e7bdd9e0904..ce426684fea 100755
--- a/lib/util.php
+++ b/lib/util.php
@@ -581,6 +581,9 @@ class OC_Util {
$client = new \Sabre_DAV_Client($settings);
+ // for this self test we don't care if the ssl certificate is self signed and the peer cannot be verified.
+ $client->setVerifyPeer(false);
+
$return = true;
try {
// test PROPFIND