summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBernhard Fröhlich <bernhard@cacert.org>2019-02-07 22:50:37 +0100
committerBernhard Fröhlich <bernhard@cacert.org>2019-02-07 22:50:37 +0100
commit73f079922eb4e230f85e6b1c7bb8f7c4da2aa2ea (patch)
treeff86cc748cffa3a18f41894ee60796ddc16a94bc
parent74e83bf73d812b25df8e7384b41d46f046f56767 (diff)
parent2b6cd37948ffd6cc4d0278220ba49a8800da8fc8 (diff)
downloadcacert-devel-73f079922eb4e230f85e6b1c7bb8f7c4da2aa2ea.tar.gz
cacert-devel-73f079922eb4e230f85e6b1c7bb8f7c4da2aa2ea.tar.xz
cacert-devel-73f079922eb4e230f85e6b1c7bb8f7c4da2aa2ea.zip
Merge branch 'bug-1430' into test-1430
-rw-r--r--includes/general.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/includes/general.php b/includes/general.php
index 2eef65e..9543592 100644
--- a/includes/general.php
+++ b/includes/general.php
@@ -631,7 +631,7 @@
continue;
}
- stream_socket_enable_crypto($fp, true, STREAM_CRYPTO_METHOD_TLS_CLIENT);
+ stream_socket_enable_crypto($fp, true, STREAM_CRYPTO_METHOD_TLSv1_0_CLIENT|STREAM_CRYPTO_METHOD_TLSv1_1_CLIENT|STREAM_CRYPTO_METHOD_TLSv1_2_CLIENT);
fputs($fp, "EHLO www.cacert.org\r\n");
do {