1.1
This is a bug fix release. The only source code level change is marking many constructors explicit. The old behaviour can be restored by defining the preprocessor value CRYPTOLENS_20190701_ALLOW_IMPLICIT_CONSTRUCTORS.
The following bugs were fixed:
- When using the namespace
cryptolens_io::v20190401the default validators were incorrectly flagging licenses as invalid whenMaxNoOfMachineswas set to 0 on the license key. - Several memory management issues were found and fixed in
SignatureVerifier_OpenSSL. In particular a memory leak would occur when attempting to verify a license key with an invalid signature. In normal operations this would not occur. Several other leaks, occurring in rarely executed error branches where OpenSSL has failed to allocate memory, were fixed. Tests have been updated to include tests for these error branches. - Documentation for some API calls used by
SignatureVerifier_CryptoAPIare unclear. We now destroy some objects that may not be necessary to destroy. To be on the safe side, users ofSignatureVerifier_CryptoAPIare encouraged to upgrade and treat this as a memory leak occurring on every signature check.