Revert "trojan: remove useless patch"

This reverts commit 910702aa91.
This commit is contained in:
CN_SZTL 2020-03-29 16:04:22 +08:00
parent 910702aa91
commit 895256f2e9
No known key found for this signature in database
GPG Key ID: 6850B6345C862176
2 changed files with 12 additions and 0 deletions

View File

@ -66,3 +66,4 @@ define Package/trojan/install
endef
$(eval $(call BuildPackage,trojan))

View File

@ -0,0 +1,11 @@
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -43,7 +43,7 @@ if(MSVC)
add_definitions(-DBOOST_DATE_TIME_NO_LIB)
endif()
-find_package(OpenSSL 1.1.0 REQUIRED)
+find_package(OpenSSL 1.1.1 REQUIRED)
include_directories(${OPENSSL_INCLUDE_DIR})
target_link_libraries(trojan ${OPENSSL_LIBRARIES})
if(OPENSSL_VERSION VERSION_GREATER_EQUAL 1.1.1)