fix const warning
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15794 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
@@ -1339,7 +1339,7 @@ _hx509_query_match_cert(const hx509_query *q, hx509_cert cert)
|
||||
return 0;
|
||||
}
|
||||
if (q->match & HX509_QUERY_MATCH_FRIENDLY_NAME) {
|
||||
char *name = hx509_cert_get_friendly_name(cert);
|
||||
const char *name = hx509_cert_get_friendly_name(cert);
|
||||
if (name == NULL)
|
||||
return 0;
|
||||
if (strcasecmp(q->friendlyname, name) != 0)
|
||||
|
Reference in New Issue
Block a user