Closed kofemann closed 11 years ago
Hi Tigran,
This pull is for master. Would you like it in any other branch (other options are v2.0.x and v2.0.5)?
Brian
Hi Brian,
there is a follow-up patch for 2.0.5. We observe strange behavior with dCache.ORG CA. Currently we are testing that new fixes did not brake old behavior. as long as new changes are not committed there is no reason to merge this change into 2.0.5
Thanks, Tigran.
The CertificateIOUtil.nameHash() accepts Principal as an argument and later on tries to detect argument's type by choosing between X500Principal or X509Name. Nevertheless X509Name doesn't implements Principal interface and never can be passes. This cleanup introduces introduces two new methods nameHash(X509Name subjectDN) and nameHash(X500Principal subjectDN) as well as uses X509Certificate.getSubjectX500Principal() instead of X509Certificate.getSubjectDN() as javadoc suggests.
Tigran.