Closed daurnimator closed 2 years ago
LGTM. Regarding compatibility:
EVP_CTRL_AEAD_SET_IVLEN exists since OpenSSL 1.1.0. In 1.0.2 you can use EVP_CTRL_GCM_SET_IVLEN to do the same job. -- https://github.com/openssl/openssl/issues/8330#issuecomment-516838331
Fixes https://github.com/wahern/luaossl/pull/201#issuecomment-1176963841
@mwild1
Need to figure out which version of OpenSSL
EVP_CTRL_AEAD_SET_IVLEN
was introduced in and if any compat shims are needed