summaryrefslogtreecommitdiff
path: root/usr.bin/ssh
diff options
context:
space:
mode:
authorMiod Vallat <miod@cvs.openbsd.org>2015-02-16 18:26:27 +0000
committerMiod Vallat <miod@cvs.openbsd.org>2015-02-16 18:26:27 +0000
commit0e4fb54cfd93035101ebed87fac6b03b5ff182f5 (patch)
tree58780a4ac12f0438c31570f62bdbdbe9b0a72902 /usr.bin/ssh
parentdbc3197b6c1271eeb8f6f686262c25b1f9a04a04 (diff)
Declare ge25519_base as extern, to prevent it from becoming a common. Gets us
rid of ``lignment 4 of symbol `crypto_sign_ed25519_ref_ge25519_base' in mod_ge25519.o is smaller than 16 in mod_ed25519.o'' warnings at link time.
Diffstat (limited to 'usr.bin/ssh')
-rw-r--r--usr.bin/ssh/ge25519.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.bin/ssh/ge25519.h b/usr.bin/ssh/ge25519.h
index 64f63c6f8f4..a0976376093 100644
--- a/usr.bin/ssh/ge25519.h
+++ b/usr.bin/ssh/ge25519.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: ge25519.h,v 1.3 2013/12/09 11:03:45 markus Exp $ */
+/* $OpenBSD: ge25519.h,v 1.4 2015/02/16 18:26:26 miod Exp $ */
/*
* Public Domain, Authors: Daniel J. Bernstein, Niels Duif, Tanja Lange,
@@ -28,7 +28,7 @@ typedef struct
fe25519 t;
} ge25519;
-const ge25519 ge25519_base;
+extern const ge25519 ge25519_base;
int ge25519_unpackneg_vartime(ge25519 *r, const unsigned char p[32]);