summaryrefslogtreecommitdiff
path: root/lib/gnutls_cert.c
diff options
context:
space:
mode:
authorNikos Mavrogiannopoulos <nmav@gnutls.org>2001-10-10 15:53:05 +0000
committerNikos Mavrogiannopoulos <nmav@gnutls.org>2001-10-10 15:53:05 +0000
commit9743e150a3397826993ff28726af63cf20011cc9 (patch)
tree15c1c26ad1f7b57a25eb0118688c5d92b610ffbe /lib/gnutls_cert.c
parent01f2ebc48ad96b8879ac101fe59e4374268a4567 (diff)
downloadgnutls-9743e150a3397826993ff28726af63cf20011cc9.tar.gz
updated name indication extension (dnsname)
Diffstat (limited to 'lib/gnutls_cert.c')
-rw-r--r--lib/gnutls_cert.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/gnutls_cert.c b/lib/gnutls_cert.c
index 50a24b238d..5382598b5f 100644
--- a/lib/gnutls_cert.c
+++ b/lib/gnutls_cert.c
@@ -994,7 +994,7 @@ int _gnutls_cert_supported_kx(gnutls_cert * cert, KXAlgorithm ** alg,
* common_name (or subjectAltDNSName) field similar to name
*/
gnutls_cert *_gnutls_find_cert(gnutls_cert ** cert_list,
- int cert_list_length, char *name)
+ int cert_list_length, const char *name)
{
gnutls_cert *cert = NULL;
int i;
@@ -1019,7 +1019,7 @@ gnutls_cert *_gnutls_find_cert(gnutls_cert ** cert_list,
* common_name (or subjectAltDNSName) field similar to name
*/
int _gnutls_find_cert_list_index(gnutls_cert ** cert_list,
- int cert_list_length, char *name)
+ int cert_list_length, const char *name)
{
int index = 0;
int i;