aboutsummaryrefslogtreecommitdiff
path: root/src/lib/third_party/include/gcrypt_light.h
diff options
context:
space:
mode:
authorIvan Nardi <12729895+IvanNardi@users.noreply.github.com>2023-04-04 14:19:41 +0200
committerGitHub <noreply@github.com>2023-04-04 14:19:41 +0200
commitcc5aec5f0ac6ff3d7d4c9ecbe02881641e8c8c92 (patch)
treea1acafaa0f86978e648de0a75713873744ea8270 /src/lib/third_party/include/gcrypt_light.h
parentd7662379b470191afd5f5d3b26f4e0763bc24a83 (diff)
fuzz: add fuzzer to test internal gcrypt code (#1920)
Diffstat (limited to 'src/lib/third_party/include/gcrypt_light.h')
-rw-r--r--src/lib/third_party/include/gcrypt_light.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/lib/third_party/include/gcrypt_light.h b/src/lib/third_party/include/gcrypt_light.h
index 6d6a115ee..bbd664155 100644
--- a/src/lib/third_party/include/gcrypt_light.h
+++ b/src/lib/third_party/include/gcrypt_light.h
@@ -1,4 +1,8 @@
+#ifdef __cplusplus
+extern "C" {
+#endif
+
#ifndef GCRY_LIGHT_H
#define GCRY_LIGHT_H
@@ -84,4 +88,8 @@ size_t gcry_cipher_get_algo_keylen (int algo);
#endif /* GCRY_LIGHT_H */
+#ifdef __cplusplus
+}
+#endif
+
/* vim: set ts=4 sw=4 et foldmethod=marker foldmarker={{{{,}}}}: */