From 8e29b2d8f8339f384f69c9e254998618562980f7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Love=20H=C3=B6rnquist=20=C3=85strand?= Date: Wed, 27 Jul 2005 19:21:50 +0000 Subject: [PATCH] fix const warning git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15794 ec53bebd-3082-4978-b11e-865c3cabbd6b --- lib/hx509/cert.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/hx509/cert.c b/lib/hx509/cert.c index 38ccf401f..62b720a73 100644 --- a/lib/hx509/cert.c +++ b/lib/hx509/cert.c @@ -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)