diff options
author | Ben Laurie <ben@openssl.org> | 2005-06-29 11:02:15 +0000 |
---|---|---|
committer | Ben Laurie <ben@openssl.org> | 2005-06-29 11:02:15 +0000 |
commit | a51a97262de196f8d4940fe68d9412ec99cd555a (patch) | |
tree | 56a8e1c194e5755f5cac06e8ab9cff1173a332cf /ssl | |
parent | 45d8574b93e9f1e14c62b765220b370f7c37eaa3 (diff) |
Brought forward from 0.9.8 - 64 bit warning fixes and fussy compiler fixes.
Diffstat (limited to 'ssl')
-rw-r--r-- | ssl/ssltest.c | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/ssl/ssltest.c b/ssl/ssltest.c index e47af50a4b..ef09a699b7 100644 --- a/ssl/ssltest.c +++ b/ssl/ssltest.c @@ -1694,7 +1694,7 @@ static int MS_CALLBACK verify_callback(int ok, X509_STORE_CTX *ctx) fprintf(stderr, " Certificate proxy rights = %*.*s", i, i, s); while(i-- > 0) { - char c = *s++; + int c = *s++; if (isascii(c) && isalpha(c)) { if (islower(c)) @@ -1755,11 +1755,11 @@ static int process_proxy_cond_adders(unsigned int letters[26], static int process_proxy_cond_val(unsigned int letters[26], const char *cond, const char **cond_end, int *pos, int indent) { - char c; + int c; int ok = 1; int negate = 0; - while(isspace(*cond)) + while(isspace((int)*cond)) { cond++; (*pos)++; } @@ -1774,7 +1774,7 @@ static int process_proxy_cond_val(unsigned int letters[26], { negate = !negate; cond++; (*pos)++; - while(isspace(*cond)) + while(isspace((int)*cond)) { cond++; (*pos)++; } @@ -1789,7 +1789,7 @@ static int process_proxy_cond_val(unsigned int letters[26], cond = *cond_end; if (ok < 0) goto end; - while(isspace(*cond)) + while(isspace((int)*cond)) { cond++; (*pos)++; } @@ -1849,7 +1849,7 @@ static int process_proxy_cond_multipliers(unsigned int letters[26], while(ok >= 0) { - while(isspace(*cond)) + while(isspace((int)*cond)) { cond++; (*pos)++; } @@ -1916,7 +1916,7 @@ static int process_proxy_cond_adders(unsigned int letters[26], while(ok >= 0) { - while(isspace(*cond)) + while(isspace((int)*cond)) { cond++; (*pos)++; } @@ -1999,7 +1999,7 @@ static int MS_CALLBACK app_verify_callback(X509_STORE_CTX *ctx, void *arg) letters[i] = 0; for(sp = cb_arg->proxy_auth; *sp; sp++) { - char c = *sp; + int c = *sp; if (isascii(c) && isalpha(c)) { if (islower(c)) |