summaryrefslogtreecommitdiff
path: root/lib/auth
diff options
context:
space:
mode:
authorTom Vrancken <dev@tomvrancken.nl>2018-05-21 10:11:28 +0200
committerTom Vrancken <dev@tomvrancken.nl>2018-10-18 21:39:48 +0200
commit2ece875e45cd790403b930d492a6e3f509209d1b (patch)
tree705775ab4b10fa218b698095ed9047f727a145db /lib/auth
parent906a84439c8c331e09a1963304271f92bd021f83 (diff)
downloadgnutls-2ece875e45cd790403b930d492a6e3f509209d1b.tar.gz
Renamed _gnutls_proc_x509_server_crt to _gnutls_proc_x509_crt.
Signed-off-by: Tom Vrancken <dev@tomvrancken.nl>
Diffstat (limited to 'lib/auth')
-rw-r--r--lib/auth/cert.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/auth/cert.c b/lib/auth/cert.c
index 88ad807f7f..c722c0c47f 100644
--- a/lib/auth/cert.c
+++ b/lib/auth/cert.c
@@ -629,7 +629,7 @@ int check_pk_compat(gnutls_session_t session, gnutls_pubkey_t pubkey)
*/
#define CLEAR_CERTS for(x=0;x<peer_certificate_list_size;x++) gnutls_pcert_deinit(&peer_certificate_list[x])
static int
-_gnutls_proc_x509_server_crt(gnutls_session_t session,
+_gnutls_proc_x509_crt(gnutls_session_t session,
uint8_t * data, size_t data_size)
{
int size, len, ret;
@@ -790,7 +790,7 @@ int _gnutls_proc_crt(gnutls_session_t session, uint8_t * data, size_t data_size)
switch (cert_type) {
case GNUTLS_CRT_X509:
- ret = _gnutls_proc_x509_server_crt(session, data, data_size);
+ ret = _gnutls_proc_x509_crt(session, data, data_size);
break;
default:
gnutls_assert();