summaryrefslogtreecommitdiff
path: root/src/serv.c
diff options
context:
space:
mode:
authorNikos Mavrogiannopoulos <nmav@gnutls.org>2002-08-30 19:32:28 +0000
committerNikos Mavrogiannopoulos <nmav@gnutls.org>2002-08-30 19:32:28 +0000
commit19f93704d9894def3a2d983e92f6bc0bad43cf59 (patch)
treebd240298c33a7ec62fd2d6f663daee830d3df0e9 /src/serv.c
parent9e315cf6678c3ac2aa49266ca8ebf4c7efbd5263 (diff)
downloadgnutls-19f93704d9894def3a2d983e92f6bc0bad43cf59.tar.gz
cert_type abreviation was expanded to certificate_type.
Diffstat (limited to 'src/serv.c')
-rw-r--r--src/serv.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/serv.c b/src/serv.c
index 87662a7a8b..f7f1d9c32d 100644
--- a/src/serv.c
+++ b/src/serv.c
@@ -275,7 +275,7 @@ gnutls_session initialize_session (void)
gnutls_kx_set_priority(session, kx_priority);
gnutls_protocol_set_priority( session, protocol_priority);
gnutls_mac_set_priority(session, mac_priority);
- gnutls_cert_type_set_priority(session, cert_type_priority);
+ gnutls_certificate_type_set_priority(session, cert_type_priority);
gnutls_cred_set(session, GNUTLS_CRD_ANON, dh_cred);
gnutls_cred_set(session, GNUTLS_CRD_SRP, srp_cred);
@@ -351,7 +351,7 @@ char* peer_print_info(gnutls_session session, int *ret_length, const char* heade
sprintf(tmp2, "<TABLE border=1><TR><TD>Protocol version:</TD><TD>%s</TD></TR>\n", tmp);
if (gnutls_auth_get_type(session) == GNUTLS_CRD_CERTIFICATE) {
- tmp = gnutls_cert_type_get_name(gnutls_cert_type_get(session));
+ tmp = gnutls_certificate_type_get_name(gnutls_certificate_type_get(session));
sprintf(tmp2, "<TR><TD>Certificate Type:</TD><TD>%s</TD></TR>\n", tmp);
}