Stop const mismatch warning.
authorDr. Stephen Henson <steve@openssl.org>
Sat, 31 May 2008 19:28:57 +0000 (19:28 +0000)
committerDr. Stephen Henson <steve@openssl.org>
Sat, 31 May 2008 19:28:57 +0000 (19:28 +0000)
apps/ca.c

index 45688a91ccd8c1ff5d1b8bc4c68b6e2d3e8bfc4a..560a4d938fdfef73db2d80e5358411f9f6d52d51 100644 (file)
--- a/apps/ca.c
+++ b/apps/ca.c
@@ -2481,7 +2481,7 @@ static int do_revoke(X509 *x509, CA_DB *db, int type, char *value)
                goto err;
 
                }
-       else if (index_name_cmp(row,rrow))
+       else if (index_name_cmp((const CSTRING *)row,(const CSTRING *)rrow))
                {
                BIO_printf(bio_err,"ERROR:name does not match %s\n",
                           row[DB_name]);