]> git.ipfire.org Git - thirdparty/hostap.git/commit
OpenSSL: Check EVP_CIPHER_CTX_set_padding() return value more consistently
authorJouni Malinen <j@w1.fi>
Sun, 17 Dec 2023 09:58:48 +0000 (11:58 +0200)
committerJouni Malinen <j@w1.fi>
Sun, 17 Dec 2023 09:58:48 +0000 (11:58 +0200)
commita92694b0010da280a2fd07239baa642ff4d5fd4a
treed8b432fbae70e998871bd054cd9bf5cf3f8380de
parent88bc6711a74f5b57303612a73a2c5f4977c2f649
OpenSSL: Check EVP_CIPHER_CTX_set_padding() return value more consistently

Even though this function is documented to always return 1, be more
consistent in checking that to avoid warnings from static analyzers.

Signed-off-by: Jouni Malinen <j@w1.fi>
src/crypto/crypto_openssl.c