mirror of
https://github.com/moparisthebest/davmail
synced 2024-12-14 03:32:22 -05:00
Fix from audit
git-svn-id: http://svn.code.sf.net/p/davmail/code/trunk@722 3d1905a2-6b24-0410-a738-b14d5a86fcbd
This commit is contained in:
parent
6b27c6193a
commit
c3ea20816e
@ -71,7 +71,8 @@ public class DavGatewaySSLProtocolSocketFactory implements SecureProtocolSocketF
|
|||||||
|
|
||||||
private SSLContext sslcontext;
|
private SSLContext sslcontext;
|
||||||
|
|
||||||
private SSLContext createSSLContext() throws NoSuchAlgorithmException, KeyManagementException, KeyStoreException, UnrecoverableKeyException, IOException, CertificateException, InvalidAlgorithmParameterException {
|
private SSLContext createSSLContext() throws NoSuchAlgorithmException, KeyManagementException, KeyStoreException,
|
||||||
|
InvalidAlgorithmParameterException {
|
||||||
// PKCS11 client certificate settings
|
// PKCS11 client certificate settings
|
||||||
String pkcs11Library = Settings.getProperty("davmail.ssl.pkcs11Library");
|
String pkcs11Library = Settings.getProperty("davmail.ssl.pkcs11Library");
|
||||||
if (pkcs11Library != null && pkcs11Library.length() > 0) {
|
if (pkcs11Library != null && pkcs11Library.length() > 0) {
|
||||||
|
Loading…
Reference in New Issue
Block a user