summaryrefslogtreecommitdiffstats
path: root/ge25519.h
diff options
context:
space:
mode:
authormiod@openbsd.org <miod@openbsd.org>2015-02-16 18:26:26 +0000
committerDamien Miller <djm@mindrot.org>2015-02-17 09:32:31 +1100
commit51b082ccbe633dc970df1d1f4c9c0497115fe721 (patch)
treefbead8174030acdfe65d7237b5a047ad4bd17a94 /ge25519.h
parent02db468bf7e3281a8e3c058ced571b38b6407c34 (diff)
upstream commit
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 'ge25519.h')
-rw-r--r--ge25519.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/ge25519.h b/ge25519.h
index 64f63c6f..a0976376 100644
--- a/ge25519.h
+++ b/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]);