[openssh-commits] [openssh] 01/01: ssh-sk-null.cc needs extern "C" {}

git+noreply at mindrot.org git+noreply at mindrot.org
Thu Jan 2 13:41:51 AEDT 2020


This is an automated email from the git hooks/post-receive script.

djm pushed a commit to branch master
in repository openssh.

commit 0248ec7c763dee9ff730a589e3d166eac5c74d7c
Author: Damien Miller <djm at mindrot.org>
Date:   Thu Jan 2 13:41:31 2020 +1100

    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 a0608996..de9a889f 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 <sys/types.h>
@@ -44,3 +46,5 @@ sshsk_load_resident(const char *provider_path, const char *pin,
 {
 	return SSH_ERR_FEATURE_UNSUPPORTED;
 }
+
+};

-- 
To stop receiving notification emails like this one, please contact
djm at mindrot.org.


More information about the openssh-commits mailing list