]> git.ipfire.org Git - thirdparty/gnutls.git/commitdiff
ciphersuites: removed unused function
authorNikos Mavrogiannopoulos <nmav@redhat.com>
Thu, 8 Jun 2017 11:06:19 +0000 (13:06 +0200)
committerNikos Mavrogiannopoulos <nmav@redhat.com>
Thu, 8 Jun 2017 11:11:43 +0000 (13:11 +0200)
Signed-off-by: Nikos Mavrogiannopoulos <nmav@redhat.com>
lib/algorithms/ciphersuites.c

index 5d0ed6d5f107d03b4989063218717b37ebe5f5ec..e9b612b5c2df7f0fc409f577ced29ba0c0968e2b 100644 (file)
@@ -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