summaryrefslogtreecommitdiffstats
path: root/openbsd-compat/sha2.c
diff options
context:
space:
mode:
authorMichael Forney <mforney@mforney.org>2019-11-28 04:17:26 +0100
committerDamien Miller <djm@mindrot.org>2020-02-06 01:53:38 +0100
commit9716e8c4956acdd7b223d1642bfa376e07e7503d (patch)
tree2cc85c6eef801b42b91b683114806ddf026d05f8 /openbsd-compat/sha2.c
parentupstream: require FIDO application strings to start with "ssh:"; ok (diff)
downloadopenssh-9716e8c4956acdd7b223d1642bfa376e07e7503d.tar.xz
openssh-9716e8c4956acdd7b223d1642bfa376e07e7503d.zip
Fix sha2 MAKE_CLONE no-op definition
The point of the dummy declaration is so that MAKE_CLONE(...) can have a trailing semicolon without introducing an empty declaration. So, the macro replacement text should *not* have a trailing semicolon, just like DEF_WEAK.
Diffstat (limited to '')
-rw-r--r--openbsd-compat/sha2.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/openbsd-compat/sha2.c b/openbsd-compat/sha2.c
index e63324c99..e36cc24ef 100644
--- a/openbsd-compat/sha2.c
+++ b/openbsd-compat/sha2.c
@@ -42,7 +42,7 @@
!defined(HAVE_SHA512UPDATE)
/* no-op out, similar to DEF_WEAK but only needed here */
-#define MAKE_CLONE(x, y) void __ssh_compat_make_clone_##x_##y(void);
+#define MAKE_CLONE(x, y) void __ssh_compat_make_clone_##x_##y(void)
#include <string.h>
#include <sha2.h>