openssl/crypto/pem
Benjamin Kaduk b0143b9752 Fix type error in PEM processing
The get_name() helper was using a variable of type size_t to hold the
result of BIO_gets(), but BIO_gets() returns int and makes use of negative
values to indicate error conditions.

Change the type of the local variable to match, and propagate that
through to other places in the file to avoid -Wsign-compare issues.

Reviewed-by: Rich Salz <rsalz@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/5211)
2018-03-09 10:51:05 -06:00
..
build.info unified build scheme: add build.info files 2016-02-01 12:46:58 +01:00
pem_all.c Copyright consolidation 04/10 2016-05-17 14:24:46 -04:00
pem_err.c make error tables const and separate header file 2017-06-07 15:12:03 -04:00
pem_info.c Remove parentheses of return. 2017-10-18 16:05:06 +01:00
pem_lib.c Fix type error in PEM processing 2018-03-09 10:51:05 -06:00
pem_oth.c Remove parentheses of return. 2017-10-18 16:05:06 +01:00
pem_pk8.c Remove parentheses of return. 2017-10-18 16:05:06 +01:00
pem_pkey.c Remove parentheses of return. 2017-10-18 16:05:06 +01:00
pem_sign.c Remove parentheses of return. 2017-10-18 16:05:06 +01:00
pem_x509.c Copyright consolidation 04/10 2016-05-17 14:24:46 -04:00
pem_xaux.c Copyright consolidation 04/10 2016-05-17 14:24:46 -04:00
pvkfmt.c Fix gcc-7 warnings. 2017-05-11 19:39:38 +02:00