提交 8e5b6314 编写于 作者: D Dr. Stephen Henson

Fix warning in apps/ca.c

上级 b4b1bdd5
......@@ -2448,7 +2448,7 @@ err:
static int get_certificate_status(const char *serial, TXT_DB *db)
{
unsigned char *row[DB_NUMBER],**rrow;
char *row[DB_NUMBER],**rrow;
int ok=-1,i;
/* Free Resources */
......@@ -2481,7 +2481,7 @@ static int get_certificate_status(const char *serial, TXT_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;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册