summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBernhard Fröhlich <bernhard@cacert.org>2018-10-22 21:58:41 +0200
committerBernhard Fröhlich <bernhard@cacert.org>2018-10-22 21:58:41 +0200
commit4669a0cf4c03c5ed4910439b2f08f42171f4b677 (patch)
tree0880f2da128cec1312097ed8df4be54ed007fd7e
parent000b17a9a909737930d59dee82c40e7eab2fa337 (diff)
downloadcacert-devel-4669a0cf4c03c5ed4910439b2f08f42171f4b677.tar.gz
cacert-devel-4669a0cf4c03c5ed4910439b2f08f42171f4b677.tar.xz
cacert-devel-4669a0cf4c03c5ed4910439b2f08f42171f4b677.zip
Bugfix proposed by Wytze, see https://bugs.cacert.org/view.php?id=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 {