Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
libcrypto: Correct EVP_CIPHER_get_flags argument type (#15392)
Per OpenSSL documentation [^1] and the usage of `LibCrypto#evp_cipher_flags`, `EVP_CIPHER_get_flags` should accept `EVP_CIPHER` rather than `EVP_CIPHER_CTX`. An example of this usage can be seen in `OpenSSL::Cipher#authenticated?`. This change does not introduce any functional impact but improves clarity by correctly reflecting the expected argument, reducing the need for developers to cross-check other sources. [^1]: https://docs.openssl.org/1.1.1/man3/EVP_EncryptInit/#synopsis
- Loading branch information