HomePhabricator

libcrypto: Fix integer comparison in evp_cipher_aead_encrypt()

Authored by asn on Fri, Nov 30, 6:46 PM.

Description

libcrypto: Fix integer comparison in evp_cipher_aead_encrypt()

src/libcrypto.c:773:27: warning: comparison of integer expressions of
different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’}
[-Wsign-compare] <--[cc]

if (rc != 1 || outlen != len - aadlen) {
                      ^~

Signed-off-by: Andreas Schneider <asn@cryptomilk.org>

Details

Committed
asnFri, Nov 30, 6:47 PM
Parents
rLIBSSHf427a975b8a4: tests: Fix a clang possible memory leak warning
Branches
Unknown
Tags
Unknown