mirror of
https://github.com/QuasarApp/openssl.git
synced 2025-05-14 02:19:39 +00:00
Avoid cast with wrapper function.
This commit is contained in:
parent
953174f46e
commit
c173fce4e2
@ -2398,6 +2398,9 @@ static int check_time_format(const char *str)
|
|||||||
return(ASN1_UTCTIME_check(&tm));
|
return(ASN1_UTCTIME_check(&tm));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
static int index_name_cmp_nc(STRING *a, STRING *b)
|
||||||
|
{ return index_name_cmp(a, b); }
|
||||||
|
|
||||||
static int do_revoke(X509 *x509, CA_DB *db, int type, char *value)
|
static int do_revoke(X509 *x509, CA_DB *db, int type, char *value)
|
||||||
{
|
{
|
||||||
ASN1_UTCTIME *tm=NULL;
|
ASN1_UTCTIME *tm=NULL;
|
||||||
@ -2481,7 +2484,7 @@ static int do_revoke(X509 *x509, CA_DB *db, int type, char *value)
|
|||||||
goto err;
|
goto err;
|
||||||
|
|
||||||
}
|
}
|
||||||
else if (index_name_cmp((const CSTRING *)row,(const CSTRING *)rrow))
|
else if (index_name_cmp_nc(row, rrow))
|
||||||
{
|
{
|
||||||
BIO_printf(bio_err,"ERROR:name does not match %s\n",
|
BIO_printf(bio_err,"ERROR:name does not match %s\n",
|
||||||
row[DB_name]);
|
row[DB_name]);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user