summaryrefslogtreecommitdiffstats
path: root/lib/util.php
diff options
context:
space:
mode:
authorThomas Mueller <thomas.mueller@tmit.eu>2013-03-01 20:34:16 +0100
committerThomas Mueller <thomas.mueller@tmit.eu>2013-03-01 20:34:16 +0100
commit39b9ed50d7b13bc54223b7b3d63d65240c3c9041 (patch)
tree7e1141f94a6e45490c1d21f26450b75ee2d92345 /lib/util.php
parent2e2cf28d30b0f1afbfe000aaeea5c2ced365a183 (diff)
downloadnextcloud-server-39b9ed50d7b13bc54223b7b3d63d65240c3c9041.tar.gz
nextcloud-server-39b9ed50d7b13bc54223b7b3d63d65240c3c9041.zip
for this self test we don't care if the ssl certificate is self signed and the peer cannot be verified.
Diffstat (limited to 'lib/util.php')
-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