diff options
Diffstat (limited to 'lib/gnutls_cipher.c')
-rw-r--r-- | lib/gnutls_cipher.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/lib/gnutls_cipher.c b/lib/gnutls_cipher.c index 0231129018..2069562bb4 100644 --- a/lib/gnutls_cipher.c +++ b/lib/gnutls_cipher.c @@ -135,7 +135,7 @@ int _gnutls_decrypt(GNUTLS_STATE state, char *ciphertext, return ret; } - +inline static GNUTLS_MAC_HANDLE mac_init( MACAlgorithm mac, opaque* secret, int secret_size, int ver) { GNUTLS_MAC_HANDLE td; @@ -151,7 +151,8 @@ GNUTLS_MAC_HANDLE td; return td; } -void mac_deinit( GNUTLS_MAC_HANDLE td, opaque* res, int ver) { +inline +static void mac_deinit( GNUTLS_MAC_HANDLE td, opaque* res, int ver) { if ( ver == GNUTLS_SSL3) { /* SSL 3.0 */ _gnutls_mac_deinit_ssl3(td, res); } else { |