One mistake recently introduced in commit
b6aed64e47b.
Fixes: https://github.com/openssl/project/issues/1815
Signed-off-by: Milan Broz <gmazyland@gmail.com>
Reviewed-by: Paul Dale <paul.dale@oracle.com>
Reviewed-by: Nikola Pajkovsky <nikolap@openssl.org>
Reviewed-by: Neil Horman <nhorman@openssl.org>
MergeDate: Tue Jan 20 18:44:58 2026
(Merged from https://github.com/openssl/openssl/pull/29662)
-Wsign-compare
-Wshadow
-Wformat
- -Wno-type-limits
+ -Wtype-limits
-Wundef
-Werror
-Wmissing-prototypes
void EVP_EncodeFinal(EVP_ENCODE_CTX *ctx, unsigned char *out, int *outl)
{
- unsigned int ret = 0;
+ int ret = 0;
int wrap_cnt = 0;
if (ctx->num != 0) {