From: Dr. Stephen Henson Date: Mon, 2 Jun 2008 10:42:57 +0000 (+0000) Subject: Revert, doesn't fix warning :-( X-Git-Tag: OpenSSL_0_9_8k^2~355 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=8ecfbedd850b94aeb616bbbc39f94c5a215d98e3;p=thirdparty%2Fopenssl.git Revert, doesn't fix warning :-( --- diff --git a/apps/ca.c b/apps/ca.c index a659702d916..153a3160450 100644 --- a/apps/ca.c +++ b/apps/ca.c @@ -2398,9 +2398,6 @@ static int check_time_format(const char *str) 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) { ASN1_UTCTIME *tm=NULL; @@ -2484,7 +2481,7 @@ static int do_revoke(X509 *x509, CA_DB *db, int type, char *value) goto err; } - else if (index_name_cmp_nc(row, rrow)) + else if (index_name_cmp((CSTRING *)row, (CSTRING *)rrow)) { BIO_printf(bio_err,"ERROR:name does not match %s\n", row[DB_name]);