diff options
author | Andy Polyakov <appro@openssl.org> | 2012-01-12 16:28:03 +0000 |
---|---|---|
committer | Andy Polyakov <appro@openssl.org> | 2012-01-12 16:28:03 +0000 |
commit | 9b2a29660bc3b9b7f2ee8df52f7d7a46e20247dc (patch) | |
tree | a283ea72cfe0109179b5cc52ade6e8546c18a01b /apps/ca.c | |
parent | b7b4a9fa5738bdc6a16a1702f48274b58bf2e7b4 (diff) |
Sanitize usage of <ctype.h> functions. It's important that characters
are passed zero-extended, not sign-extended [from HEAD].
PR: 2682
Diffstat (limited to 'apps/ca.c')
-rw-r--r-- | apps/ca.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -2560,7 +2560,7 @@ static int get_certificate_status(const char *serial, CA_DB *db) /* Make it Upper Case */ for (i=0; row[DB_serial][i] != '\0'; i++) - row[DB_serial][i] = toupper(row[DB_serial][i]); + row[DB_serial][i] = toupper((unsigned char)row[DB_serial][i]); ok=1; |