summaryrefslogtreecommitdiff
path: root/md4.h
diff options
context:
space:
mode:
Diffstat (limited to 'md4.h')
-rw-r--r--md4.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/md4.h b/md4.h
index 7ccf8c33..e9a32b9e 100644
--- a/md4.h
+++ b/md4.h
@@ -28,6 +28,10 @@
#include "nettle-types.h"
+#ifdef __cplusplus
+extern "C" {
+#endif
+
/* Name mangling */
#define md4_init nettle_md4_init
#define md4_update nettle_md4_update
@@ -61,4 +65,8 @@ md4_digest(struct md4_ctx *ctx,
uint8_t *digest);
+#ifdef __cplusplus
+}
+#endif
+
#endif /* NETTLE_MD4_H_INCLUDED */