Import OpenSSL-1.0.0g.
[dragonfly.git] / crypto / openssl / apps / ca.c
index 6b8b0ef..5d11948 100644 (file)
@@ -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;