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 45688a9..560a4d9 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]);