aboutsummaryrefslogtreecommitdiff
path: root/vendor
diff options
context:
space:
mode:
authorJan Eberhardt <eberhardt@elsa.uni-hannover.de>2021-08-26 17:13:13 +0200
committerDavid Siegfried <david.siegfried@uni-vechta.de>2021-09-07 21:38:32 +0000
commit55bf83791d802e35b42246aed57c9173561de670 (patch)
treed4b65289d85e43b897212e53db9cdda221611ae2 /vendor
parentfefcc5e6cdefe2c17afff76aa71c5073eb79da94 (diff)
use TLS1.2-Client instead of TLS1.0-Client
Diffstat (limited to 'vendor')
-rw-r--r--vendor/email_message/smtp.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/vendor/email_message/smtp.php b/vendor/email_message/smtp.php
index 0fb4b2f..93f9c23 100644
--- a/vendor/email_message/smtp.php
+++ b/vendor/email_message/smtp.php
@@ -1287,7 +1287,7 @@ class smtp_class
{
if($this->debug)
$this->OutputDebug('Starting TLS cryptograpic protocol');
- if(!($success = @stream_socket_enable_crypto($this->connection, 1, STREAM_CRYPTO_METHOD_TLS_CLIENT)))
+ if(!($success = @stream_socket_enable_crypto($this->connection, 1, STREAM_CRYPTO_METHOD_TLSv1_2_CLIENT)))
$this->error = 'could not start TLS connection encryption protocol';
else
{
@@ -1909,4 +1909,4 @@ class smtp_class
*/
-?> \ No newline at end of file
+?>