Files
openwrt/package/utils/uencrypt
Dharmik Parmar a27b155e89 uencrypt: return failure on OpenSSL errors
OpenSSL returns zero when EVP_CipherUpdate() or EVP_CipherFinal_ex()
fails. Returning that value from do_crypt() makes uencrypt exit
successfully after an encryption or decryption error.

Return EXIT_FAILURE from both error paths.

Fixes: #26001
Signed-off-by: Dharmik Parmar <dharmikparmar2004@yahoo.com>
Link: https://github.com/openwrt/openwrt/pull/26140
Signed-off-by: Robert Marko <robimarko@gmail.com>
2026-10-25 11:40:50 +01:00
..
…
…