summaryrefslogtreecommitdiffstats
path: root/3rd_party/ed25519
diff options
context:
space:
mode:
Diffstat (limited to '3rd_party/ed25519')
-rw-r--r--3rd_party/ed25519/Makefile.am9
-rw-r--r--3rd_party/ed25519/seed.c2
2 files changed, 9 insertions, 2 deletions
diff --git a/3rd_party/ed25519/Makefile.am b/3rd_party/ed25519/Makefile.am
index c475331..438cb53 100644
--- a/3rd_party/ed25519/Makefile.am
+++ b/3rd_party/ed25519/Makefile.am
@@ -6,7 +6,7 @@ AM_CPPFLAGS = \
AM_CFLAGS = \
$(GLOBAL_CFLAGS) \
- $(openssl_CFLAGS)
+ $(ssl_lib_CFLAGS)
AM_LDFLAGS =
@@ -15,12 +15,19 @@ libed25519_la_LIBADD =
libed25519_la_LDFLAGS = $(AM_LDFLAGS) -no-undefined
libed25519_la_SOURCES = \
add_scalar.c \
+ ed25519.h \
fe.c \
+ fe.h \
+ fixedint.h \
ge.c \
+ ge.h \
keypair.c \
key_exchange.c \
+ precomp_data.h \
sc.c \
+ sc.h \
seed.c \
sign.c \
sha512.c \
+ sha512.h \
verify.c
diff --git a/3rd_party/ed25519/seed.c b/3rd_party/ed25519/seed.c
index 11a2e3e..cf252b8 100644
--- a/3rd_party/ed25519/seed.c
+++ b/3rd_party/ed25519/seed.c
@@ -30,7 +30,7 @@ int ed25519_create_seed(unsigned char *seed) {
return 1;
}
- fread(seed, 1, 32, f);
+ if(fread(seed, 1, 32, f)){}
fclose(f);
#endif