diff --git a/Makefile b/Makefile index f103b949..f6ec553c 100644 --- a/Makefile +++ b/Makefile @@ -15,7 +15,6 @@ CFLAGS += \ -Wno-cast-function-type \ -MMD \ -ffunction-sections \ - -fmerge-all-constants \ -fdata-sections \ -fno-exceptions \ -g @@ -56,12 +55,11 @@ $(NONANDROID_TARGETS): CFLAGS += -fno-omit-frame-pointer $(NONANDROID_TARGETS): LDFLAGS += -rdynamic $(ANDROID_TARGETS): CFLAGS += \ --sysroot $(ANDROID_NDK)/toolchains/llvm/prebuilt/linux-x86_64/sysroot \ + -fPIC \ -fdebug-compilation-dir . \ -fomit-frame-pointer \ -fno-asynchronous-unwind-tables - #-fPIC \ -$(ANDROID_TARGETS): LDFLAGS += --sysroot $(ANDROID_NDK)/toolchains/llvm/prebuilt/linux-x86_64/sysroot -#-fPIC +$(ANDROID_TARGETS): LDFLAGS += --sysroot $(ANDROID_NDK)/toolchains/llvm/prebuilt/linux-x86_64/sysroot -fPIC $(DEBUG_TARGETS): CFLAGS += -DDEBUG -Og $(RELEASE_TARGETS): CFLAGS += -DNDEBUG $(NONANDROID_RELEASE_TARGETS): CFLAGS += -O3 diff --git a/deps/openssl/android/x86_64/usr/local/bin/openssl b/deps/openssl/android/x86_64/usr/local/bin/openssl index 2506dceb..4e5b4cc0 100755 Binary files a/deps/openssl/android/x86_64/usr/local/bin/openssl and b/deps/openssl/android/x86_64/usr/local/bin/openssl differ diff --git a/src/ssb.c b/src/ssb.c index a936b70a..61822e7d 100644 --- a/src/ssb.c +++ b/src/ssb.c @@ -919,7 +919,7 @@ static bool _tf_ssb_verify_and_strip_signature_internal(JSContext* context, JSVa if (!verified) { //tf_printf("crypto_sign_verify_detached fail (r=%d)\n", r); - if (true) + if (false) { tf_printf("val=[%.*s]\n", (int)strlen(sigstr), sigstr); tf_printf("sig=%.*s\n", (int)(sigkind - str), str);