[PATCH RESEND] openssl: disable padding after initializing the cipher suite
Jouni Malinen
j at w1.fi
Thu Aug 19 04:01:31 PDT 2021
On Tue, Aug 17, 2021 at 10:58:53AM +0200, Davide Caratti wrote:
> according to OpenSSL documentation [1], EVP_CIPHER_CTX_set_padding()
> must be called after EVP_EncryptInit_ex(), EVP_DecryptInit_ex() or
> EVP_CipherInit_ex(). Not doing this causes EVP_CIPHER_CTX_set_padding()
> to return false on OpenSSL-3.0.0, resulting in the impossibility to
> connect in many scenarios. Fix this changing the order of function
> calls where needed.
>
> [1] https://www.openssl.org/docs/man1.1.1/man3/EVP_CIPHER_CTX_set_padding.html
Thanks, applied.
--
Jouni Malinen PGP id EFC895FA
More information about the Hostap
mailing list