diff options
Diffstat (limited to 'lib/algorithms/mac.c')
-rw-r--r-- | lib/algorithms/mac.c | 13 |
1 files changed, 0 insertions, 13 deletions
diff --git a/lib/algorithms/mac.c b/lib/algorithms/mac.c index f9b3537403..ce2d18c154 100644 --- a/lib/algorithms/mac.c +++ b/lib/algorithms/mac.c @@ -82,19 +82,6 @@ const mac_entry_st *_gnutls_mac_to_entry(gnutls_mac_algorithm_t c) return NULL; } -int -_gnutls_mac_priority(gnutls_session_t session, - gnutls_mac_algorithm_t algorithm) -{ /* actually returns the priority */ - unsigned int i; - for (i = 0; i < session->internals.priorities.mac.algorithms; i++) { - if (session->internals.priorities.mac.priority[i] == - algorithm) - return i; - } - return -1; -} - /** * gnutls_mac_get_name: * @algorithm: is a MAC algorithm |