From 9b185aa1ae060025f5479cf8d6d64548aff8dbe3 Mon Sep 17 00:00:00 2001 From: Andy Moreton Date: Tue, 9 Dec 2014 19:16:55 +0200 Subject: [PATCH] gnutls.c (gnutls_protocol_get_name): Fix a copy/paste typo. --- src/ChangeLog | 4 ++++ src/gnutls.c | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/src/ChangeLog b/src/ChangeLog index b65fbb5c1eb..762ce486390 100644 --- a/src/ChangeLog +++ b/src/ChangeLog @@ -1,3 +1,7 @@ +2014-12-09 Andy Moreton (tiny change) + + * gnutls.c (gnutls_protocol_get_name): Fix a copy/paste typo. + 2014-12-08 Lars Magne Ingebrigtsen * gnutls.c (Fgnutls_peer_status): Return the key exchange, cipher diff --git a/src/gnutls.c b/src/gnutls.c index 46ef21137fb..aa800be2576 100644 --- a/src/gnutls.c +++ b/src/gnutls.c @@ -194,7 +194,7 @@ DEF_GNUTLS_FN (gnutls_kx_algorithm_t, gnutls_kx_get, (gnutls_session_t)); DEF_GNUTLS_FN (const char*, gnutls_kx_get_name, (gnutls_kx_algorithm_t)); DEF_GNUTLS_FN (gnutls_protocol_t, gnutls_protocol_get_version, (gnutls_session_t)); -DEF_GNUTLS_FN (const char*, gnutls_protocol_get_version, (gnutls_protocol_t)); +DEF_GNUTLS_FN (const char*, gnutls_protocol_get_name, (gnutls_protocol_t)); DEF_GNUTLS_FN (gnutls_cipher_algorithm_t, gnutls_cipher_get, (gnutls_session_t)); DEF_GNUTLS_FN (const char*, gnutls_cipher_get_name, -- 2.39.2