cid#1500542 swext: Wiki Publisher: "Insecure TLS version"

Change-Id: I4b481cae6c1e13d34ea5a6dc3ff35a3b03ee281a
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/131005
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Reviewed-by: Michael Stahl <michael.stahl@allotropia.de>
Tested-by: Jenkins
This commit is contained in:
Michael Stahl 2022-03-04 17:22:28 +01:00
parent 08eb43d3e7
commit 03552ba854

View File

@ -93,7 +93,7 @@ class WikiProtocolSocketFactory extends SSLSocketFactory
try
{
SSLContext aContext = SSLContext.getInstance("SSL");
SSLContext aContext = SSLContext.getInstance("TLSv1.2");
if ( aContext != null )
{
aContext.init( null, pTrustUnknownCerts, null );