Fix BZ 69866 - Use separate CertificateVerifier class to avoid strong JNI reference to OpenSSLContexts#912
Conversation
… JNI reference to OpenSSLContexts
|
LGTM, I'm just running the CI before merging. Please run "ant validate" next time to make sure CheckStyle is happy. |
|
Either OpenSSLContext.certificates(byte[][]) is duplicated (in which case it should shared instead) or it becomes unused in which case it should be removed. |
D'oh, it's now unused there so it was my intention to remove it. Thanks for catching that. Fixed. |
|
There were some follow-up changes required. See: c19b057 |
|
They were unrelated (and have been fixed). This fix has been back-ported. |
https://bz.apache.org/bugzilla/show_bug.cgi?id=69866