diff options
author | Geoff Thorpe <geoff@openssl.org> | 2003-10-29 21:24:15 +0100 |
---|---|---|
committer | Geoff Thorpe <geoff@openssl.org> | 2003-10-29 21:24:15 +0100 |
commit | 27545970134d703ed96027aac9b67eced124eec3 (patch) | |
tree | 2f878acf303cc26e3b6db6a0ec25c10c91e3d32d /ssl/s3_lib.c | |
parent | BN_CTX is opaque and the static initialiser BN_CTX_init() is not used (diff) | |
download | openssl-27545970134d703ed96027aac9b67eced124eec3.tar.xz openssl-27545970134d703ed96027aac9b67eced124eec3.zip |
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.
Diffstat (limited to 'ssl/s3_lib.c')
-rw-r--r-- | ssl/s3_lib.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ssl/s3_lib.c b/ssl/s3_lib.c index 2145385ccd..6c208ccfc1 100644 --- a/ssl/s3_lib.c +++ b/ssl/s3_lib.c @@ -1914,7 +1914,7 @@ SSL_CIPHER *ssl3_get_cipher_by_char(const unsigned char *p) static SSL_CIPHER *sorted[SSL3_NUM_CIPHERS]; SSL_CIPHER c,*cp= &c,**cpp; unsigned long id; - int i; + unsigned int i; if (init) { |