wolfssl
wolfssl copied to clipboard
Update --enable-jni to define SESSION_CERTS for wolfJSSE
Description
This PR updates --enable-jni to define SESSION_CERTS.
This is needed for wolfJSSE SSLSession.getPeerCertificate() to return cert chain post handshake.
Testing
Exposed through SunJSSE tests, specifically SSLEngine.ConnectionTest. This has also been recommended to support users frequently, so should reduce a few minor JSSE support cases.
Checklist
- [ ] added tests
- [ ] updated/added doxygen
- [ ] updated appropriate READMEs
- [ ] Updated manual and documentation