diff options
author | Benjamin Kaduk <bkaduk@akamai.com> | 2018-01-30 19:55:44 +0100 |
---|---|---|
committer | Ben Kaduk <kaduk@mit.edu> | 2018-03-09 17:51:05 +0100 |
commit | b0143b97529959470c90df157368c2925180e3c3 (patch) | |
tree | 0650a9affce2191052d0062ebb5fe136c4f32044 /ssl | |
parent | Add SSL/SSL_CTX_use_cert_and_key() (diff) | |
download | openssl-b0143b97529959470c90df157368c2925180e3c3.tar.xz openssl-b0143b97529959470c90df157368c2925180e3c3.zip |
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)
Diffstat (limited to 'ssl')
0 files changed, 0 insertions, 0 deletions