summaryrefslogtreecommitdiff
path: root/lib/gnutls_cipher_int.h
diff options
context:
space:
mode:
Diffstat (limited to 'lib/gnutls_cipher_int.h')
-rw-r--r--lib/gnutls_cipher_int.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/lib/gnutls_cipher_int.h b/lib/gnutls_cipher_int.h
index fb2d48a9bd..b1dc79569d 100644
--- a/lib/gnutls_cipher_int.h
+++ b/lib/gnutls_cipher_int.h
@@ -21,13 +21,13 @@
#ifndef GNUTLS_CIPHER_INT
# define GNUTLS_CIPHER_INT
-#define GNUTLS_CIPHER_HANDLE gcry_cipher_hd_t
+#define cipher_hd_t gcry_cipher_hd_t
#define GNUTLS_CIPHER_FAILED NULL
-GNUTLS_CIPHER_HANDLE _gnutls_cipher_init( gnutls_cipher_algorithm cipher,
+cipher_hd_t _gnutls_cipher_init( gnutls_cipher_algorithm cipher,
const gnutls_datum *key, const gnutls_datum *iv);
-int _gnutls_cipher_encrypt(GNUTLS_CIPHER_HANDLE handle, void* text, int textlen);
-int _gnutls_cipher_decrypt(GNUTLS_CIPHER_HANDLE handle, void* ciphertext, int ciphertextlen);
-void _gnutls_cipher_deinit(GNUTLS_CIPHER_HANDLE handle);
+int _gnutls_cipher_encrypt(cipher_hd_t handle, void* text, int textlen);
+int _gnutls_cipher_decrypt(cipher_hd_t handle, void* ciphertext, int ciphertextlen);
+void _gnutls_cipher_deinit(cipher_hd_t handle);
#endif /* GNUTLS_CIPHER_INT */