A general spring-cleaning (in autumn) to fix up signed/unsigned warnings.
authorGeoff Thorpe <geoff@openssl.org>
Wed, 29 Oct 2003 20:24:15 +0000 (20:24 +0000)
committerGeoff Thorpe <geoff@openssl.org>
Wed, 29 Oct 2003 20:24:15 +0000 (20:24 +0000)
commit27545970134d703ed96027aac9b67eced124eec3
tree2f878acf303cc26e3b6db6a0ec25c10c91e3d32d
parent2ce90b9b7481381dff584726d84345a0260ca4d1
A general spring-cleaning (in autumn) to fix up signed/unsigned warnings.
I have tried to convert 'len' type variable declarations to unsigned as a
means to address these warnings when appropriate, but when in doubt I have
used casts in the comparisons instead. The better solution (that would get
us all lynched by API users) would be to go through and convert all the
function prototypes and structure definitions to use unsigned variables
except when signed is necessary. The proliferation of (signed) "int" for
strictly non-negative uses is unfortunate.
37 files changed:
apps/ca.c
apps/enc.c
apps/passwd.c
apps/rand.c
crypto/asn1/a_enum.c
crypto/asn1/a_int.c
crypto/asn1/a_object.c
crypto/asn1/asn1_gen.c
crypto/asn1/asn1_lib.c
crypto/asn1/x_long.c
crypto/bn/bn_lib.c
crypto/des/destest.c
crypto/des/set_key.c
crypto/evp/bio_b64.c
crypto/evp/e_rc2.c
crypto/evp/encode.c
crypto/evp/evp_enc.c
crypto/evp/evp_lib.c
crypto/evp/p5_crpt.c
crypto/evp/p5_crpt2.c
crypto/hmac/hmac.c
crypto/pem/pem_lib.c
crypto/rand/md_rand.c
crypto/rsa/rsa_gen.c
crypto/x509/x509_trs.c
crypto/x509v3/v3_purp.c
engines/e_4758_cca.c
ssl/s2_clnt.c
ssl/s2_enc.c
ssl/s2_lib.c
ssl/s3_clnt.c
ssl/s3_enc.c
ssl/s3_lib.c
ssl/s3_srvr.c
ssl/ssl_asn1.c
ssl/ssl_cert.c
ssl/ssltest.c