summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNikos Mavrogiannopoulos <nmav@redhat.com>2017-06-08 13:06:19 +0200
committerNikos Mavrogiannopoulos <nmav@redhat.com>2017-06-08 13:11:43 +0200
commit9804959b4c5783dcfcc0a1d04072f61bc7fcd1ef (patch)
treed9b6aff34147b3ebd3171f1e2e435fc877106577
parent8fdb63854fea2956abecee6f1b2dcb24ee447ea7 (diff)
downloadgnutls-9804959b4c5783dcfcc0a1d04072f61bc7fcd1ef.tar.gz
ciphersuites: removed unused function
Signed-off-by: Nikos Mavrogiannopoulos <nmav@redhat.com>
-rw-r--r--lib/algorithms/ciphersuites.c15
1 files changed, 0 insertions, 15 deletions
diff --git a/lib/algorithms/ciphersuites.c b/lib/algorithms/ciphersuites.c
index 5d0ed6d5f1..e9b612b5c2 100644
--- a/lib/algorithms/ciphersuites.c
+++ b/lib/algorithms/ciphersuites.c
@@ -1535,21 +1535,6 @@ const char *gnutls_cipher_suite_info(size_t idx,
return cs_algorithms[idx].name + sizeof("GNU") - 1;
}
-
-static inline int _gnutls_cipher_suite_is_ok(const uint8_t suite[2])
-{
- size_t ret;
- const char *name = NULL;
-
- CIPHER_SUITE_ALG_LOOP(name = p->name, suite);
- if (name != NULL)
- ret = 0;
- else
- ret = 1;
- return ret;
-
-}
-
/*-
* _gnutls_supported_ciphersuites:
* @session: a TLS session