diff options
author | Caolán McNamara <caolanm@redhat.com> | 2021-03-22 10:42:00 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2021-03-22 15:05:32 +0100 |
commit | 1534c125440725631bcfd5b2ebd1592ee8104287 (patch) | |
tree | 329a7807e49d076f07f28f62909eef1ff9417db1 /swext/mediawiki/src/com | |
parent | 7ed980aa6a57f69f039147a28da8a472811678f2 (diff) |
cid#1473816 Dereference null return value
Change-Id: Iebafaa477670041d184a5d01221355fca61a5e62
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/112878
Tested-by: Caolán McNamara <caolanm@redhat.com>
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'swext/mediawiki/src/com')
-rw-r--r-- | swext/mediawiki/src/com/sun/star/wiki/WikiProtocolSocketFactory.java | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/swext/mediawiki/src/com/sun/star/wiki/WikiProtocolSocketFactory.java b/swext/mediawiki/src/com/sun/star/wiki/WikiProtocolSocketFactory.java index 17527cad187b..0990cf6a7bea 100644 --- a/swext/mediawiki/src/com/sun/star/wiki/WikiProtocolSocketFactory.java +++ b/swext/mediawiki/src/com/sun/star/wiki/WikiProtocolSocketFactory.java @@ -64,6 +64,9 @@ class WikiProtocolSocketFactory extends SSLSocketFactory } } + if (m_aOrgTrustManager == null) + throw new RuntimeException("No access to the default trust manager!"); + return m_aOrgTrustManager; } |