Skip to content

Commit 96c6fb9

Browse files
committed
upd openssl, compatibility with WSL2
1 parent 0d4be92 commit 96c6fb9

File tree

16 files changed

+3456
-490
lines changed

16 files changed

+3456
-490
lines changed

CMakeLists.txt

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -108,7 +108,7 @@ if (WIN32)
108108
message(STATUS "IN MINGW")
109109
endif()
110110

111-
set(Qt5_DIR "D:/Qt/5.12.2/mingw73_64")
111+
set(Qt5_DIR "T:/Qt/5.12.12/mingw73_64")
112112
set(ENV{OPENSSL_ROOT_DIR} "${CMAKE_CURRENT_SOURCE_DIR}/extlib/openssl/")
113113
set(OPENSSL_ROOT_DIR "${CMAKE_CURRENT_SOURCE_DIR}/extlib/openssl/")
114114
message(STATUS $ENV{OPENSSL_ROOT_DIR})
@@ -516,6 +516,8 @@ endif()
516516

517517
add_custom_command( TARGET ${PROJECT_NAME} POST_BUILD COMMAND ${CMAKE_COMMAND} -E copy_if_different ${CMAKE_CURRENT_SOURCE_DIR}/extlib/openssl/libeay32.dll ${PROJECT_BINARY_DIR})
518518
add_custom_command( TARGET ${PROJECT_NAME} POST_BUILD COMMAND ${CMAKE_COMMAND} -E copy_if_different ${CMAKE_CURRENT_SOURCE_DIR}/extlib/openssl/ssleay32.dll ${PROJECT_BINARY_DIR})
519+
add_custom_command( TARGET ${PROJECT_NAME} POST_BUILD COMMAND ${CMAKE_COMMAND} -E copy_if_different ${CMAKE_CURRENT_SOURCE_DIR}/extlib/openssl/libcrypto-1_1-x64.dll ${PROJECT_BINARY_DIR})
520+
add_custom_command( TARGET ${PROJECT_NAME} POST_BUILD COMMAND ${CMAKE_COMMAND} -E copy_if_different ${CMAKE_CURRENT_SOURCE_DIR}/extlib/openssl/libssl-1_1-x64.dll ${PROJECT_BINARY_DIR})
519521
add_custom_command( TARGET ${PROJECT_NAME} POST_BUILD COMMAND ${CMAKE_COMMAND} -E copy_if_different ${CMAKE_CURRENT_SOURCE_DIR}/extlib/lua/lua53.dll ${PROJECT_BINARY_DIR})
520522

521523

@@ -528,6 +530,8 @@ endif()
528530
${MINGW_BUILD_BIN}/libwinpthread-1.dll
529531
${CMAKE_CURRENT_SOURCE_DIR}/extlib/openssl/libeay32.dll
530532
${CMAKE_CURRENT_SOURCE_DIR}/extlib/openssl/ssleay32.dll
533+
${CMAKE_CURRENT_SOURCE_DIR}/extlib/openssl/libcrypto-1_1-x64.dll
534+
${CMAKE_CURRENT_SOURCE_DIR}/extlib/openssl/libssl-1_1-x64.dll
531535
${CMAKE_CURRENT_SOURCE_DIR}/extlib/lua/lua53.dll
532536
)
533537

extlib/openssl/CHANGES.txt

100644100755
Lines changed: 2975 additions & 361 deletions
Large diffs are not rendered by default.

extlib/openssl/FAQ.txt

100644100755
File mode changed.

extlib/openssl/LICENSE.txt

100644100755
Lines changed: 10 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -2,24 +2,22 @@
22
LICENSE ISSUES
33
==============
44

5-
The OpenSSL toolkit stays under a dual license, i.e. both the conditions of
5+
The OpenSSL toolkit stays under a double license, i.e. both the conditions of
66
the OpenSSL License and the original SSLeay license apply to the toolkit.
7-
See below for the actual license texts. Actually both licenses are BSD-style
8-
Open Source licenses. In case of any license issues related to OpenSSL
9-
please contact [email protected].
7+
See below for the actual license texts.
108

119
OpenSSL License
1210
---------------
1311

1412
/* ====================================================================
15-
* Copyright (c) 1998-2016 The OpenSSL Project. All rights reserved.
13+
* Copyright (c) 1998-2019 The OpenSSL Project. All rights reserved.
1614
*
1715
* Redistribution and use in source and binary forms, with or without
1816
* modification, are permitted provided that the following conditions
1917
* are met:
2018
*
2119
* 1. Redistributions of source code must retain the above copyright
22-
* notice, this list of conditions and the following disclaimer.
20+
* notice, this list of conditions and the following disclaimer.
2321
*
2422
* 2. Redistributions in binary form must reproduce the above copyright
2523
* notice, this list of conditions and the following disclaimer in
@@ -74,21 +72,21 @@
7472
* This package is an SSL implementation written
7573
* by Eric Young ([email protected]).
7674
* The implementation was written so as to conform with Netscapes SSL.
77-
*
75+
*
7876
* This library is free for commercial and non-commercial use as long as
7977
* the following conditions are aheared to. The following conditions
8078
* apply to all code found in this distribution, be it the RC4, RSA,
8179
* lhash, DES, etc., code; not just the SSL code. The SSL documentation
8280
* included with this distribution is covered by the same copyright terms
8381
* except that the holder is Tim Hudson ([email protected]).
84-
*
82+
*
8583
* Copyright remains Eric Young's, and as such any Copyright notices in
8684
* the code are not to be removed.
8785
* If this package is used in a product, Eric Young should be given attribution
8886
* as the author of the parts of the library used.
8987
* This can be in the form of a textual message at program startup or
9088
* in documentation (online or textual) provided with the package.
91-
*
89+
*
9290
* Redistribution and use in source and binary forms, with or without
9391
* modification, are permitted provided that the following conditions
9492
* are met:
@@ -103,10 +101,10 @@
103101
* Eric Young ([email protected])"
104102
* The word 'cryptographic' can be left out if the rouines from the library
105103
* being used are not cryptographic related :-).
106-
* 4. If you include any Windows specific code (or a derivative thereof) from
104+
* 4. If you include any Windows specific code (or a derivative thereof) from
107105
* the apps directory (application code) you must include an acknowledgement:
108106
* "This product includes software written by Tim Hudson ([email protected])"
109-
*
107+
*
110108
* THIS SOFTWARE IS PROVIDED BY ERIC YOUNG ``AS IS'' AND
111109
* ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
112110
* IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
@@ -118,7 +116,7 @@
118116
* LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
119117
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
120118
* SUCH DAMAGE.
121-
*
119+
*
122120
* The licence and distribution terms for any publically available version or
123121
* derivative of this code cannot be changed. i.e. this code cannot simply be
124122
* copied and put under another distribution licence

0 commit comments

Comments
 (0)