diff options
author | Michael Forney <mforney@mforney.org> | 2019-11-28 04:17:26 +0100 |
---|---|---|
committer | Damien Miller <djm@mindrot.org> | 2020-02-06 01:53:38 +0100 |
commit | 9716e8c4956acdd7b223d1642bfa376e07e7503d (patch) | |
tree | 2cc85c6eef801b42b91b683114806ddf026d05f8 /openbsd-compat/sha2.c | |
parent | upstream: require FIDO application strings to start with "ssh:"; ok (diff) | |
download | openssh-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.c | 2 |
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> |