diff options
author | Damien Miller <djm@mindrot.org> | 2020-01-02 13:41:31 +1100 |
---|---|---|
committer | Damien Miller <djm@mindrot.org> | 2020-01-02 13:41:31 +1100 |
commit | 0248ec7c763dee9ff730a589e3d166eac5c74d7c (patch) | |
tree | 5b6497b32073ca3e3e7f16e1f0f24ff8118dd498 /regress/misc/fuzz-harness/ssh-sk-null.cc | |
parent | 5ca4b414effe4b56f0cfe3058c92391aa8a43871 (diff) |
ssh-sk-null.cc needs extern "C" {}
Diffstat (limited to 'regress/misc/fuzz-harness/ssh-sk-null.cc')
-rw-r--r-- | regress/misc/fuzz-harness/ssh-sk-null.cc | 4 |
1 files changed, 4 insertions, 0 deletions
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 @@ | |||
15 | * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. | 15 | * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. |
16 | */ | 16 | */ |
17 | 17 | ||
18 | extern "C" { | ||
19 | |||
18 | #include "includes.h" | 20 | #include "includes.h" |
19 | 21 | ||
20 | #include <sys/types.h> | 22 | #include <sys/types.h> |
@@ -44,3 +46,5 @@ sshsk_load_resident(const char *provider_path, const char *pin, | |||
44 | { | 46 | { |
45 | return SSH_ERR_FEATURE_UNSUPPORTED; | 47 | return SSH_ERR_FEATURE_UNSUPPORTED; |
46 | } | 48 | } |
49 | |||
50 | }; | ||