summaryrefslogtreecommitdiff
path: root/lib/cipher.h
diff options
context:
space:
mode:
Diffstat (limited to 'lib/cipher.h')
-rw-r--r--lib/cipher.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/lib/cipher.h b/lib/cipher.h
index 2e1b2ac1e1..4b32eef9fa 100644
--- a/lib/cipher.h
+++ b/lib/cipher.h
@@ -20,6 +20,9 @@
*
*/
+#ifndef GNUTLS_LIB_CIPHER_H
+#define GNUTLS_LIB_CIPHER_H
+
int _gnutls_encrypt(gnutls_session_t session,
const uint8_t * data,
size_t data_size, size_t min_pad,
@@ -43,3 +46,5 @@ int cbc_mac_verify(gnutls_session_t session, record_parameters_st *params,
gnutls_uint64 *sequence,
const uint8_t *data, size_t data_size,
size_t tag_size);
+
+#endif /* GNUTLS_LIB_CIPHER_H */