Skip to content

Commit e5061ae

Browse files
authored
Merge pull request #317 from OpenVR-Advanced-Settings/openssl-package
Add binaries for openssl to windows distribution
2 parents 2bddedf + 89f5443 commit e5061ae

File tree

6 files changed

+138
-0
lines changed

6 files changed

+138
-0
lines changed

advancedSettings.pro

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -70,6 +70,15 @@ win32:openvrApiCopy.files = third-party/openvr/bin/win64/openvr_api.dll
7070
unix:openvrApiCopy.files = third-party/openvr/lib/linux64/libopenvr_api.so
7171
openvrApiCopy.path = $$COPY_DEST_DIR
7272

73+
# Deploy openssl when on win32
74+
win32 {
75+
COPIES += opensslCopy
76+
opensslCopy.files = third-party/openssl/libcrypto-1_1-x64.dll
77+
opensslCopy.files += third-party/openssl/libssl-1_1-x64.dll
78+
opensslCopy.files += third-party/openssl/LICENSE-OPENSSL
79+
opensslCopy.path = $$COPY_DEST_DIR
80+
}
81+
7382
# Deploy resources and DLLs to exe dir on Windows
7483
win32 {
7584
WINDEPLOYQT_LOCATION = $$dirname(QMAKE_QMAKE)/windeployqt.exe

installer/installer.nsi

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -113,6 +113,7 @@ Section "Install" SecInstall
113113
File "${BASEDIR}\LICENSE"
114114
File "${BASEDIR}\LICENSE-MIT"
115115
File "${BASEDIR}\LICENSE-VALVE"
116+
File "${BASEDIR}\LICENSE-OPENSSL"
116117

117118
File "${BASEDIR}\*.exe"
118119
;Any action manifests

src/overlaycontroller.cpp

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -379,6 +379,9 @@ OverlayController::OverlayController( bool desktopMode,
379379
{
380380
LOG( INFO ) << "Version Check: Feature disabled. Not checking version.";
381381
}
382+
383+
LOG( INFO ) << "OPENSSL VERSION: "
384+
<< QSslSocket::sslLibraryBuildVersionString();
382385
}
383386

384387
OverlayController::~OverlayController()
Lines changed: 125 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,125 @@
1+
2+
LICENSE ISSUES
3+
==============
4+
5+
The OpenSSL toolkit stays under a double license, i.e. both the conditions of
6+
the OpenSSL License and the original SSLeay license apply to the toolkit.
7+
See below for the actual license texts.
8+
9+
OpenSSL License
10+
---------------
11+
12+
/* ====================================================================
13+
* Copyright (c) 1998-2019 The OpenSSL Project. All rights reserved.
14+
*
15+
* Redistribution and use in source and binary forms, with or without
16+
* modification, are permitted provided that the following conditions
17+
* are met:
18+
*
19+
* 1. Redistributions of source code must retain the above copyright
20+
* notice, this list of conditions and the following disclaimer.
21+
*
22+
* 2. Redistributions in binary form must reproduce the above copyright
23+
* notice, this list of conditions and the following disclaimer in
24+
* the documentation and/or other materials provided with the
25+
* distribution.
26+
*
27+
* 3. All advertising materials mentioning features or use of this
28+
* software must display the following acknowledgment:
29+
* "This product includes software developed by the OpenSSL Project
30+
* for use in the OpenSSL Toolkit. (http://www.openssl.org/)"
31+
*
32+
* 4. The names "OpenSSL Toolkit" and "OpenSSL Project" must not be used to
33+
* endorse or promote products derived from this software without
34+
* prior written permission. For written permission, please contact
35+
* openssl-core@openssl.org.
36+
*
37+
* 5. Products derived from this software may not be called "OpenSSL"
38+
* nor may "OpenSSL" appear in their names without prior written
39+
* permission of the OpenSSL Project.
40+
*
41+
* 6. Redistributions of any form whatsoever must retain the following
42+
* acknowledgment:
43+
* "This product includes software developed by the OpenSSL Project
44+
* for use in the OpenSSL Toolkit (http://www.openssl.org/)"
45+
*
46+
* THIS SOFTWARE IS PROVIDED BY THE OpenSSL PROJECT ``AS IS'' AND ANY
47+
* EXPRESSED OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
48+
* IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
49+
* PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE OpenSSL PROJECT OR
50+
* ITS CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
51+
* SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
52+
* NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
53+
* LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
54+
* HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT,
55+
* STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
56+
* ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED
57+
* OF THE POSSIBILITY OF SUCH DAMAGE.
58+
* ====================================================================
59+
*
60+
* This product includes cryptographic software written by Eric Young
61+
* (eay@cryptsoft.com). This product includes software written by Tim
62+
* Hudson (tjh@cryptsoft.com).
63+
*
64+
*/
65+
66+
Original SSLeay License
67+
-----------------------
68+
69+
/* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com)
70+
* All rights reserved.
71+
*
72+
* This package is an SSL implementation written
73+
* by Eric Young (eay@cryptsoft.com).
74+
* The implementation was written so as to conform with Netscapes SSL.
75+
*
76+
* This library is free for commercial and non-commercial use as long as
77+
* the following conditions are aheared to. The following conditions
78+
* apply to all code found in this distribution, be it the RC4, RSA,
79+
* lhash, DES, etc., code; not just the SSL code. The SSL documentation
80+
* included with this distribution is covered by the same copyright terms
81+
* except that the holder is Tim Hudson (tjh@cryptsoft.com).
82+
*
83+
* Copyright remains Eric Young's, and as such any Copyright notices in
84+
* the code are not to be removed.
85+
* If this package is used in a product, Eric Young should be given attribution
86+
* as the author of the parts of the library used.
87+
* This can be in the form of a textual message at program startup or
88+
* in documentation (online or textual) provided with the package.
89+
*
90+
* Redistribution and use in source and binary forms, with or without
91+
* modification, are permitted provided that the following conditions
92+
* are met:
93+
* 1. Redistributions of source code must retain the copyright
94+
* notice, this list of conditions and the following disclaimer.
95+
* 2. Redistributions in binary form must reproduce the above copyright
96+
* notice, this list of conditions and the following disclaimer in the
97+
* documentation and/or other materials provided with the distribution.
98+
* 3. All advertising materials mentioning features or use of this software
99+
* must display the following acknowledgement:
100+
* "This product includes cryptographic software written by
101+
* Eric Young (eay@cryptsoft.com)"
102+
* The word 'cryptographic' can be left out if the rouines from the library
103+
* being used are not cryptographic related :-).
104+
* 4. If you include any Windows specific code (or a derivative thereof) from
105+
* the apps directory (application code) you must include an acknowledgement:
106+
* "This product includes software written by Tim Hudson (tjh@cryptsoft.com)"
107+
*
108+
* THIS SOFTWARE IS PROVIDED BY ERIC YOUNG ``AS IS'' AND
109+
* ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
110+
* IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
111+
* ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE
112+
* FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
113+
* DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
114+
* OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
115+
* HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
116+
* LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
117+
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
118+
* SUCH DAMAGE.
119+
*
120+
* The licence and distribution terms for any publically available version or
121+
* derivative of this code cannot be changed. i.e. this code cannot simply be
122+
* copied and put under another distribution licence
123+
* [including the GNU Public Licence.]
124+
*/
125+
2.56 MB
Binary file not shown.
628 KB
Binary file not shown.

0 commit comments

Comments
 (0)