From cc5aec5f0ac6ff3d7d4c9ecbe02881641e8c8c92 Mon Sep 17 00:00:00 2001 From: Ivan Nardi <12729895+IvanNardi@users.noreply.github.com> Date: Tue, 4 Apr 2023 14:19:41 +0200 Subject: fuzz: add fuzzer to test internal gcrypt code (#1920) --- src/lib/third_party/include/gcrypt_light.h | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'src/lib/third_party/include') 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={{{{,}}}}: */ -- cgit v1.2.3