From 559cdc565457b3c5ff4526176a641ad225c0ccd9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sahil=20Ashar=20=F0=9F=A4=A0?= Date: Thu, 13 Jun 2024 20:23:42 -0700 Subject: [PATCH] compiles and links with PF --- Build/libcrypto.Android/CMakeLists.txt | 3 +++ Build/libssl.Android/CMakeLists.txt | 1 + External/openssl | 2 +- 3 files changed, 5 insertions(+), 1 deletion(-) diff --git a/Build/libcrypto.Android/CMakeLists.txt b/Build/libcrypto.Android/CMakeLists.txt index 10f2b209..7580fef0 100644 --- a/Build/libcrypto.Android/CMakeLists.txt +++ b/Build/libcrypto.Android/CMakeLists.txt @@ -5,6 +5,7 @@ get_filename_component(PATH_TO_ROOT "../.." ABSOLUTE) project("libcrypto.Android") set(CMAKE_STATIC_LIBRARY_PREFIX "") +set(CMAKE_POSITION_INDEPENDENT_CODE ON) ########################################### ### Set up paths for source and include ### @@ -157,6 +158,8 @@ set(CRYPTO_SOURCE_FILES "${PATH_TO_CRYPTO}/bn/bn_srp.c" "${PATH_TO_CRYPTO}/bn/bn_word.c" "${PATH_TO_CRYPTO}/bn/bn_x931p.c" + "${PATH_TO_CRYPTO}/bn/rsa_sup_mul.c" + "${PATH_TO_CRYPTO}/bn/rsaz_exp.c" "${PATH_TO_CRYPTO}/buffer/buf_err.c" "${PATH_TO_CRYPTO}/buffer/buffer.c" "${PATH_TO_CRYPTO}/camellia/camellia.c" diff --git a/Build/libssl.Android/CMakeLists.txt b/Build/libssl.Android/CMakeLists.txt index 0f75ddd9..cc4b5cd5 100644 --- a/Build/libssl.Android/CMakeLists.txt +++ b/Build/libssl.Android/CMakeLists.txt @@ -5,6 +5,7 @@ get_filename_component(PATH_TO_ROOT "../.." ABSOLUTE) project("libssl.Android") set(CMAKE_STATIC_LIBRARY_PREFIX "") +set(CMAKE_POSITION_INDEPENDENT_CODE ON) ########################################### ### Set up paths for source and include ### diff --git a/External/openssl b/External/openssl index fd78df59..830bf8e1 160000 --- a/External/openssl +++ b/External/openssl @@ -1 +1 @@ -Subproject commit fd78df59b0f656aefe96e39533130454aa957c00 +Subproject commit 830bf8e1e4749ad65c51b6a1d0d769ae689404ba