From 297c6605efa01d1d87edb62f8da8ecf99c55ea40 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Micka=C3=ABl=20Guessant?= Date: Sat, 14 Dec 2024 17:30:13 +0000 Subject: [PATCH] Security: Enable TLSv1.3 between DavMail and Exchange/O365 git-svn-id: https://svn.code.sf.net/p/davmail/code/trunk@3593 3d1905a2-6b24-0410-a738-b14d5a86fcbd --- src/java/davmail/http/HttpClientAdapter.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/java/davmail/http/HttpClientAdapter.java b/src/java/davmail/http/HttpClientAdapter.java index abbf347f..5106a929 100644 --- a/src/java/davmail/http/HttpClientAdapter.java +++ b/src/java/davmail/http/HttpClientAdapter.java @@ -72,7 +72,7 @@ public class HttpClientAdapter implements Closeable { static final Logger LOGGER = Logger.getLogger("davmail.http.HttpClientAdapter"); - static final String[] SUPPORTED_PROTOCOLS = new String[]{"TLSv1", "TLSv1.1", "TLSv1.2"}; + static final String[] SUPPORTED_PROTOCOLS = new String[]{"TLSv1", "TLSv1.1", "TLSv1.2", "TLSv1.3"}; static final Registry SCHEME_REGISTRY; static String WORKSTATION_NAME = "UNKNOWN"; static final int MAX_REDIRECTS = 10; @@ -129,7 +129,7 @@ public static boolean isGzipEncoded(HttpResponse response) { BasicCookieStore cookieStore = new BasicCookieStore() { @Override public void addCookie(final Cookie cookie) { - LOGGER.debug("Add cookie " + cookie); + //LOGGER.debug("Add cookie " + cookie); super.addCookie(cookie); } };