##

### Preface

This is the Changelog for Tomcat Native 1.2.

### Changes in 1.2.7

- Update minimum recommended OpenSSL version to 1.0.2h. (markt)

### Changes in 1.2.6

- Change the OpenSSL version check in `configure` to be fatal. (rjung)
- Use new OpenSSL 1.1.0 protocol version max and min API when creating a new SSL context. (rjung)
- Improve renegotiation code and make it compatible with OpenSSL 1.1.0. (rjung)
- OpenSSL 1.1.0 compatibility updates. (rjung)
- Fix some compiler warnings in native ssl code. (rjung)
- Add support for using Java keystores for certificate chains. (markt)
- Remove the explicit CRL check when verifying certificates. The checks were already part of the internal certification verification since OpenSSL 0.9.7. Backport from mod_ssl. (rjung)

### Changes in 1.2.5

- Enable OpenSSL version check in `configure` by default. It can be turned off using `--disable-openssl-version-check`. (rjung)
- 59024: Native function `versionString()` and for OpenSSL 1.1.0 also `version()` (both in in ssl.c) now return the OpenSSL run time version, not the compile time version. (rjung)
- Track changes in the OpenSSL master branch so it is possible to build Tomcat Native with that branch. (billbarker)

### Changes in 1.2.4

- SSL.getHandshakeCount(), which was unused, now returns the handshake completed count rather than the handshake started count. (remm)

### Changes in 1.2.3

- Remove Java classes that do not have C implementation code for their native methods in the current library. They were used for NPN support which is superseded by ALPN support in the current code. (kkolinko)
- Fix typo in declaration of a stub method used when the library is compiled without OpenSSL support. (kkolinko)
- Fix the signature of the implementation of the native SSL method newSSL() in the case when OPENSSL is not available. (rjung)
- Fix the signature of the implementation of the native SSLSocket method getInfoB() to return jbyteArray instead of jobject. This is consistent with what it actually returns and how the native Java method is declared. (rjung)
- Add support for using Java keystores for certificates and keys. (jfclere)
- Remove code that performs a read after a renegotiation that appears to be unnecessary with OpenSSL 1.0.2. (billbarker)
- Expose `SSL_renegotiate` to the Java API. (remm)

### Changes in 1.2.2

- Fix broken debug and maintainer mode build. (rjung)
- Forward port additional fixes to the OpenSSL I/O to align it with non-OpenSSL I/O. (markt)

### Changes in 1.2.1

- 58566: Enable Tomcat Native 1.2.x to work with Tomcat releases that do not have the necessary Java code to support SNI. (markt)
- Minor rework of "buildconf" script. (rjung)
- Fix APR dependency version expression in RPM spec file. (rjung)
- Fix major library version number in Windows build files, RPM spec file and build description. (rjung)
- Remove files "KEYS" and "download_deps.sh" from Windows (zip) source distribution. (rjung)
- Fix "unused variable" compiler warning. (rjung)

### Changes in 1.2.0

- Add support for TLS extension ALPN. (markt)
- Add support for TLS extension SNI (Server Name Indication). (markt)
- Add support for OpenSSL BIO. (jfclere)
- Support wakeable pollsets and add Poll.interrupt() API. (mturk)
- Add Pool.unmanaged() API. (mturk)
- APIs SSL.generateRSATempKey() and SSL.loadDSATempKey() have been removed. (rjung)
- The minimum required APR version is 1.4.3.
- The minimum required OpenSSL version is 1.0.2.

### Changes in 1.1.x

Please see the 1.1.x changelog.