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>
(cherry picked from commit 7a8ed6d02b48ca8de19a25906abc5a6c11f23297)

Details