Bugfix proposed by Wytze, see https://bugs.cacert.org/view.php?id=1430
authorBernhard Fröhlich <bernhard@cacert.org>
Mon, 22 Oct 2018 19:58:41 +0000 (21:58 +0200)
committerBernhard Fröhlich <bernhard@cacert.org>
Mon, 22 Oct 2018 19:58:41 +0000 (21:58 +0200)
includes/general.php

index 2eef65e..9543592 100644 (file)
                                                        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 {