aboutsummaryrefslogtreecommitdiff
path: root/openssl/apps/ca.c
diff options
context:
space:
mode:
Diffstat (limited to 'openssl/apps/ca.c')
-rw-r--r--openssl/apps/ca.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/openssl/apps/ca.c b/openssl/apps/ca.c
index 6b8b0ef8f..5d11948bb 100644
--- a/openssl/apps/ca.c
+++ b/openssl/apps/ca.c
@@ -2536,7 +2536,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;