summaryrefslogtreecommitdiff
path: root/swext/mediawiki/src/com
diff options
context:
space:
mode:
Diffstat (limited to 'swext/mediawiki/src/com')
-rw-r--r--swext/mediawiki/src/com/sun/star/wiki/WikiProtocolSocketFactory.java3
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;
}