From e843e5f1cc24113fd7dc085d80aa84e4ba3b5eb9 Mon Sep 17 00:00:00 2001 From: Nikos Mavrogiannopoulos Date: Mon, 7 Feb 2011 09:11:48 +0100 Subject: Better error checking on SSL3. --- lib/gnutls_cipher_int.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/gnutls_cipher_int.h') diff --git a/lib/gnutls_cipher_int.h b/lib/gnutls_cipher_int.h index bbc259d211..e5423f3767 100644 --- a/lib/gnutls_cipher_int.h +++ b/lib/gnutls_cipher_int.h @@ -110,7 +110,7 @@ int _gnutls_auth_cipher_encrypt2_tag (auth_cipher_hd_st * handle, const uint8_t int _gnutls_auth_cipher_decrypt2 (auth_cipher_hd_st * handle, const void *ciphertext, int ciphertextlen, void *text, int textlen); -void _gnutls_auth_cipher_tag( auth_cipher_hd_st * handle, void* tag, int tag_size); +int _gnutls_auth_cipher_tag( auth_cipher_hd_st * handle, void* tag, int tag_size); inline static void _gnutls_auth_cipher_setiv (const auth_cipher_hd_st * handle, const void *iv, int ivlen) -- cgit v1.2.1