summaryrefslogtreecommitdiff
path: root/swext/mediawiki/src/com
diff options
context:
space:
mode:
authorMichael Stahl <michael.stahl@allotropia.de>2022-03-04 17:22:28 +0100
committerMichael Stahl <michael.stahl@allotropia.de>2022-03-07 11:01:32 +0100
commit03552ba854243dd05de37f471dabeb5873f5e73c (patch)
treed6d60b998abdade7d25f89f9ffafc2edd0c56e6b /swext/mediawiki/src/com
parent08eb43d3e7f53077041d04c3021da3e244226f8f (diff)
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
Diffstat (limited to 'swext/mediawiki/src/com')
-rw-r--r--swext/mediawiki/src/com/sun/star/wiki/WikiProtocolSocketFactory.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/swext/mediawiki/src/com/sun/star/wiki/WikiProtocolSocketFactory.java b/swext/mediawiki/src/com/sun/star/wiki/WikiProtocolSocketFactory.java
index 0990cf6a7bea..7ca94390dce4 100644
--- a/swext/mediawiki/src/com/sun/star/wiki/WikiProtocolSocketFactory.java
+++ b/swext/mediawiki/src/com/sun/star/wiki/WikiProtocolSocketFactory.java
@@ -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 );