HomePhabricator

pki: Fix size type for len in privatekey_string_to_buffer()

Authored by asn on Feb 21 2019, 2:17 PM.

Description

pki: Fix size type for len in privatekey_string_to_buffer()

src/pki_gcrypt.c:485:10: error: assuming signed overflow does not occur
when simplifying conditional to constant [-Werror=strict-overflow]

Fixes T132

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

Details