diff options
| author | Jan Eberhardt <eberhardt@elsa.uni-hannover.de> | 2021-08-26 17:13:13 +0200 |
|---|---|---|
| committer | David Siegfried <david.siegfried@uni-vechta.de> | 2021-09-07 21:38:32 +0000 |
| commit | 55bf83791d802e35b42246aed57c9173561de670 (patch) | |
| tree | d4b65289d85e43b897212e53db9cdda221611ae2 /vendor | |
| parent | fefcc5e6cdefe2c17afff76aa71c5073eb79da94 (diff) | |
use TLS1.2-Client instead of TLS1.0-Client
Diffstat (limited to 'vendor')
| -rw-r--r-- | vendor/email_message/smtp.php | 4 |
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 +?> |
