mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-11-28 20:21:37 +08:00
5a457b90d6
* [gmp] use native buildsystem on windows * fix stuff from merge * fix version * version stuff * trying patching some symbols for dynamic builds * fix nettle build * fix more dependent ports using gmpd * fix uwp builds by copying tools * missing host dep * fix mpfr * version-string nettle * port-version mpfr * version stuff * remove patch from portfile * version stuff * [nettle] use native build system * fix cross build * manifest format * add license * version stuff * version stuff * @Thomas1664's suggestions Co-authored-by: Alexander Neumann <you@example.com> Co-authored-by: nicole mazzuca <mazzucan@outlook.com>
40 lines
1.3 KiB
Diff
40 lines
1.3 KiB
Diff
diff --git a/examples/Makefile.in b/examples/Makefile.in
|
|
index eb6a81790..1d927079c 100644
|
|
--- a/examples/Makefile.in
|
|
+++ b/examples/Makefile.in
|
|
@@ -11,7 +11,7 @@ PRE_CPPFLAGS = -I.. -I$(top_srcdir)
|
|
PRE_LDFLAGS = -L..
|
|
|
|
OPENSSL_LIBFLAGS = @OPENSSL_LIBFLAGS@
|
|
-BENCH_LIBS = @BENCH_LIBS@ -lm
|
|
+BENCH_LIBS = @BENCH_LIBS@
|
|
|
|
HOGWEED_TARGETS = rsa-keygen$(EXEEXT) rsa-sign$(EXEEXT) \
|
|
rsa-verify$(EXEEXT) rsa-encrypt$(EXEEXT) rsa-decrypt$(EXEEXT) \
|
|
diff --git a/streebog.c b/streebog.c
|
|
index 7ad619d5e..85609a473 100644
|
|
--- a/streebog.c
|
|
+++ b/streebog.c
|
|
@@ -1233,7 +1233,7 @@ streebog512_compress (struct streebog512_ctx *ctx, const uint8_t *input, uint64_
|
|
static void
|
|
streebog_final (struct streebog512_ctx *ctx)
|
|
{
|
|
- uint64_t Z[8] = {};
|
|
+ uint64_t Z[8] = {0,0,0,0,0,0,0,0};
|
|
unsigned int i;
|
|
|
|
/* PAD. It does not count towards message length */
|
|
diff --git a/Makefile.in b/Makefile.in
|
|
index b65ff4960..3887d0c8f 100644
|
|
--- a/Makefile.in
|
|
+++ b/Makefile.in
|
|
@@ -322,7 +322,7 @@ $(LIBHOGWEED_FORLINK): $(hogweed_OBJS) $(LIBNETTLE_FORLINK)
|
|
|
|
# For building the various *data.c programs. -lm needed for shadata.
|
|
%$(EXEEXT_FOR_BUILD): %.c
|
|
- $(CC_FOR_BUILD) $< $(CFLAGS) -lm -o $@
|
|
+ $(CC_FOR_BUILD) $< $(CFLAGS) -o $@
|
|
|
|
# Explicit dependency.
|
|
eccdata$(EXEEXT_FOR_BUILD): mini-gmp.c mini-gmp.h
|