Skip to content

Commit

Permalink
Fix for fabiang#85
Browse files Browse the repository at this point in the history
  • Loading branch information
zerkms committed Aug 21, 2019
1 parent d5fe3ac commit f5b139b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/EventListener/Stream/StartTls.php
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ public function proceed(XMLEvent $event)

$connection = $this->getConnection();
if ($connection instanceof SocketConnectionInterface) {
$connection->getSocket()->crypto(true, STREAM_CRYPTO_METHOD_SSLv23_CLIENT);
$connection->getSocket()->crypto(true, STREAM_CRYPTO_METHOD_TLSv1_2_CLIENT);
}
$connection->resetStreams();
$connection->connect();
Expand Down

0 comments on commit f5b139b

Please sign in to comment.