Mercurial > hg > release > icedtea6-1.6
changeset 1644:090e738a38e7
Netx: prompt the user fewer times for https certificate issues
author | Omair Majid <omajid@redhat.com> |
---|---|
date | Wed, 29 Jul 2009 10:48:43 -0400 |
parents | 4ec5e065fb53 |
children | ff01867e1a2a |
files | ChangeLog rt/net/sourceforge/jnlp/security/VariableX509TrustManager.java |
diffstat | 2 files changed, 6 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/ChangeLog Thu Jul 23 11:39:18 2009 -0400 +++ b/ChangeLog Wed Jul 29 10:48:43 2009 -0400 @@ -1,3 +1,8 @@ +2009-07-29 Omair Majid <omajid@redhat.com> + + * rt/net/sourceforge/jnlp/security/VariableX509TrustManager.java + (checkServerTrusted): Synchronize the function. + 2009-07-23 Deepak Bhole <dbhole@redhat.com> * plugin/icedteanp/IcedTeaJavaRequestProcessor.c: Added support for
--- a/rt/net/sourceforge/jnlp/security/VariableX509TrustManager.java Thu Jul 23 11:39:18 2009 -0400 +++ b/rt/net/sourceforge/jnlp/security/VariableX509TrustManager.java Wed Jul 29 10:48:43 2009 -0400 @@ -143,7 +143,7 @@ * @param authType The auth type algorithm * @param checkOnly Whether to "check only" i.e. no user prompt, or to prompt for permission */ - public void checkServerTrusted(X509Certificate[] chain, String authType, boolean checkOnly) throws CertificateException { + public synchronized void checkServerTrusted(X509Certificate[] chain, String authType, boolean checkOnly) throws CertificateException { try { checkAllManagers(chain, authType); } catch (CertificateException ce) {