From 0248ec7c763dee9ff730a589e3d166eac5c74d7c Mon Sep 17 00:00:00 2001 From: Damien Miller Date: Thu, 2 Jan 2020 13:41:31 +1100 Subject: [PATCH] ssh-sk-null.cc needs extern "C" {} --- regress/misc/fuzz-harness/ssh-sk-null.cc | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/regress/misc/fuzz-harness/ssh-sk-null.cc b/regress/misc/fuzz-harness/ssh-sk-null.cc index a06089969..de9a889f9 100644 --- a/regress/misc/fuzz-harness/ssh-sk-null.cc +++ b/regress/misc/fuzz-harness/ssh-sk-null.cc @@ -15,6 +15,8 @@ * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. */ +extern "C" { + #include "includes.h" #include @@ -44,3 +46,5 @@ sshsk_load_resident(const char *provider_path, const char *pin, { return SSH_ERR_FEATURE_UNSUPPORTED; } + +};