diff options
author | Bodo Möller <bodo@openssl.org> | 2000-01-14 17:28:48 +0000 |
---|---|---|
committer | Bodo Möller <bodo@openssl.org> | 2000-01-14 17:28:48 +0000 |
commit | a8eeb155b5323809113e57e62de887b31f9fba7b (patch) | |
tree | c851ece4dca513e45caf179ff7d676895ce76d90 /crypto/pkcs7/pk7_mime.c | |
parent | 2f878669b7d1a22e52fa8ab86cf6a6095a9fad03 (diff) |
Avoid some warnings, and run "make update".
Diffstat (limited to 'crypto/pkcs7/pk7_mime.c')
-rw-r--r-- | crypto/pkcs7/pk7_mime.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/crypto/pkcs7/pk7_mime.c b/crypto/pkcs7/pk7_mime.c index f346259b92..4282f69d0d 100644 --- a/crypto/pkcs7/pk7_mime.c +++ b/crypto/pkcs7/pk7_mime.c @@ -416,7 +416,7 @@ static STACK *mime_parse_hdr(BIO *bio) headers = sk_new(mime_hdr_cmp); while ((len = BIO_gets(bio, linebuf, MAX_SMLEN)) > 0) { /* If whitespace at line start then continuation line */ - if(mhdr && isspace(linebuf[0])) state = MIME_NAME; + if(mhdr && isspace((unsigned char)linebuf[0])) state = MIME_NAME; else state = MIME_START; ntmp = NULL; /* Go through all characters */ @@ -520,7 +520,7 @@ static char *strip_start(char *name) /* Else null string */ return NULL; } - if(!isspace(c)) return p; + if(!isspace((unsigned char)c)) return p; } return NULL; } @@ -538,7 +538,7 @@ static char *strip_end(char *name) *p = 0; return name; } - if(isspace(c)) *p = 0; + if(isspace((unsigned char)c)) *p = 0; else return name; } return NULL; |