Skip to content

Commit e2287c0

Browse files
committed
Allow negotiation of supported TLS
1 parent 2578c9d commit e2287c0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Connection/ImapConnection.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -214,7 +214,7 @@ public function startTls(): void
214214

215215
$this->assertTaggedResponse($tag);
216216

217-
$this->stream->setSocketSetCrypto(true, STREAM_CRYPTO_METHOD_TLSv1_3_CLIENT);
217+
$this->stream->setSocketSetCrypto(true, STREAM_CRYPTO_METHOD_TLS_CLIENT);
218218
}
219219

220220
/**

0 commit comments

Comments
 (0)