annotate OrthancFramework/Resources/CMake/OpenSslConfigurationStatic-1.0.2.cmake @ 4403:ad646ff506d0

cont openapi
author Sebastien Jodogne <s.jodogne@gmail.com>
date Wed, 23 Dec 2020 18:32:13 +0100
parents 781f53eee856
children d9473bd5ed43
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
4120
304842a0d152 adding missing license headers
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 4044
diff changeset
1 # Orthanc - A Lightweight, RESTful DICOM Store
304842a0d152 adding missing license headers
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 4044
diff changeset
2 # Copyright (C) 2012-2016 Sebastien Jodogne, Medical Physics
304842a0d152 adding missing license headers
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 4044
diff changeset
3 # Department, University Hospital of Liege, Belgium
304842a0d152 adding missing license headers
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 4044
diff changeset
4 # Copyright (C) 2017-2020 Osimis S.A., Belgium
304842a0d152 adding missing license headers
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 4044
diff changeset
5 #
304842a0d152 adding missing license headers
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 4044
diff changeset
6 # This program is free software: you can redistribute it and/or
304842a0d152 adding missing license headers
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 4044
diff changeset
7 # modify it under the terms of the GNU Lesser General Public License
304842a0d152 adding missing license headers
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 4044
diff changeset
8 # as published by the Free Software Foundation, either version 3 of
304842a0d152 adding missing license headers
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 4044
diff changeset
9 # the License, or (at your option) any later version.
304842a0d152 adding missing license headers
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 4044
diff changeset
10 #
304842a0d152 adding missing license headers
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 4044
diff changeset
11 # This program is distributed in the hope that it will be useful, but
304842a0d152 adding missing license headers
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 4044
diff changeset
12 # WITHOUT ANY WARRANTY; without even the implied warranty of
304842a0d152 adding missing license headers
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 4044
diff changeset
13 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
304842a0d152 adding missing license headers
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 4044
diff changeset
14 # Lesser General Public License for more details.
304842a0d152 adding missing license headers
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 4044
diff changeset
15 #
304842a0d152 adding missing license headers
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 4044
diff changeset
16 # You should have received a copy of the GNU Lesser General Public
304842a0d152 adding missing license headers
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 4044
diff changeset
17 # License along with this program. If not, see
304842a0d152 adding missing license headers
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 4044
diff changeset
18 # <http://www.gnu.org/licenses/>.
304842a0d152 adding missing license headers
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 4044
diff changeset
19
304842a0d152 adding missing license headers
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 4044
diff changeset
20
3720
faa695f433d5 upgraded OpenSSL to 1.1.1d
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
21 SET(OPENSSL_SOURCES_DIR ${CMAKE_BINARY_DIR}/openssl-1.0.2p)
faa695f433d5 upgraded OpenSSL to 1.1.1d
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
22 SET(OPENSSL_URL "http://orthanc.osimis.io/ThirdPartyDownloads/openssl-1.0.2p.tar.gz")
faa695f433d5 upgraded OpenSSL to 1.1.1d
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
23 SET(OPENSSL_MD5 "ac5eb30bf5798aa14b1ae6d0e7da58df")
faa695f433d5 upgraded OpenSSL to 1.1.1d
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
24
faa695f433d5 upgraded OpenSSL to 1.1.1d
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
25 if (IS_DIRECTORY "${OPENSSL_SOURCES_DIR}")
faa695f433d5 upgraded OpenSSL to 1.1.1d
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
26 set(FirstRun OFF)
faa695f433d5 upgraded OpenSSL to 1.1.1d
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
27 else()
faa695f433d5 upgraded OpenSSL to 1.1.1d
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
28 set(FirstRun ON)
faa695f433d5 upgraded OpenSSL to 1.1.1d
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
29 endif()
faa695f433d5 upgraded OpenSSL to 1.1.1d
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
30
faa695f433d5 upgraded OpenSSL to 1.1.1d
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
31 DownloadPackage(${OPENSSL_MD5} ${OPENSSL_URL} "${OPENSSL_SOURCES_DIR}")
faa695f433d5 upgraded OpenSSL to 1.1.1d
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
32
faa695f433d5 upgraded OpenSSL to 1.1.1d
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
33 if (FirstRun)
faa695f433d5 upgraded OpenSSL to 1.1.1d
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
34 file(MAKE_DIRECTORY ${OPENSSL_SOURCES_DIR}/include/openssl)
faa695f433d5 upgraded OpenSSL to 1.1.1d
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
35
faa695f433d5 upgraded OpenSSL to 1.1.1d
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
36 foreach(header
faa695f433d5 upgraded OpenSSL to 1.1.1d
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
37 ${OPENSSL_SOURCES_DIR}/crypto/aes/aes.h
faa695f433d5 upgraded OpenSSL to 1.1.1d
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
38 ${OPENSSL_SOURCES_DIR}/crypto/asn1/asn1.h
faa695f433d5 upgraded OpenSSL to 1.1.1d
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
39 ${OPENSSL_SOURCES_DIR}/crypto/asn1/asn1_mac.h
faa695f433d5 upgraded OpenSSL to 1.1.1d
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
40 ${OPENSSL_SOURCES_DIR}/crypto/asn1/asn1t.h
faa695f433d5 upgraded OpenSSL to 1.1.1d
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
41 ${OPENSSL_SOURCES_DIR}/crypto/bf/blowfish.h
faa695f433d5 upgraded OpenSSL to 1.1.1d
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
42 ${OPENSSL_SOURCES_DIR}/crypto/bio/bio.h
faa695f433d5 upgraded OpenSSL to 1.1.1d
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
43 ${OPENSSL_SOURCES_DIR}/crypto/bn/bn.h
faa695f433d5 upgraded OpenSSL to 1.1.1d
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
44 ${OPENSSL_SOURCES_DIR}/crypto/buffer/buffer.h
faa695f433d5 upgraded OpenSSL to 1.1.1d
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
45 ${OPENSSL_SOURCES_DIR}/crypto/camellia/camellia.h
faa695f433d5 upgraded OpenSSL to 1.1.1d
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
46 ${OPENSSL_SOURCES_DIR}/crypto/cast/cast.h
faa695f433d5 upgraded OpenSSL to 1.1.1d
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
47 ${OPENSSL_SOURCES_DIR}/crypto/cmac/cmac.h
faa695f433d5 upgraded OpenSSL to 1.1.1d
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
48 ${OPENSSL_SOURCES_DIR}/crypto/cms/cms.h
faa695f433d5 upgraded OpenSSL to 1.1.1d
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
49 ${OPENSSL_SOURCES_DIR}/crypto/comp/comp.h
faa695f433d5 upgraded OpenSSL to 1.1.1d
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
50 ${OPENSSL_SOURCES_DIR}/crypto/conf/conf.h
faa695f433d5 upgraded OpenSSL to 1.1.1d
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
51 ${OPENSSL_SOURCES_DIR}/crypto/conf/conf_api.h
faa695f433d5 upgraded OpenSSL to 1.1.1d
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
52 ${OPENSSL_SOURCES_DIR}/crypto/crypto.h
faa695f433d5 upgraded OpenSSL to 1.1.1d
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
53 ${OPENSSL_SOURCES_DIR}/crypto/des/des.h
faa695f433d5 upgraded OpenSSL to 1.1.1d
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
54 ${OPENSSL_SOURCES_DIR}/crypto/des/des_old.h
faa695f433d5 upgraded OpenSSL to 1.1.1d
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
55 ${OPENSSL_SOURCES_DIR}/crypto/dh/dh.h
faa695f433d5 upgraded OpenSSL to 1.1.1d
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
56 ${OPENSSL_SOURCES_DIR}/crypto/dsa/dsa.h
faa695f433d5 upgraded OpenSSL to 1.1.1d
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
57 ${OPENSSL_SOURCES_DIR}/crypto/dso/dso.h
faa695f433d5 upgraded OpenSSL to 1.1.1d
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
58 ${OPENSSL_SOURCES_DIR}/crypto/ebcdic.h
faa695f433d5 upgraded OpenSSL to 1.1.1d
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
59 ${OPENSSL_SOURCES_DIR}/crypto/ec/ec.h
faa695f433d5 upgraded OpenSSL to 1.1.1d
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
60 ${OPENSSL_SOURCES_DIR}/crypto/ecdh/ecdh.h
faa695f433d5 upgraded OpenSSL to 1.1.1d
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
61 ${OPENSSL_SOURCES_DIR}/crypto/ecdsa/ecdsa.h
faa695f433d5 upgraded OpenSSL to 1.1.1d
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
62 ${OPENSSL_SOURCES_DIR}/crypto/engine/engine.h
faa695f433d5 upgraded OpenSSL to 1.1.1d
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
63 ${OPENSSL_SOURCES_DIR}/crypto/err/err.h
faa695f433d5 upgraded OpenSSL to 1.1.1d
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
64 ${OPENSSL_SOURCES_DIR}/crypto/evp/evp.h
faa695f433d5 upgraded OpenSSL to 1.1.1d
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
65 ${OPENSSL_SOURCES_DIR}/crypto/hmac/hmac.h
faa695f433d5 upgraded OpenSSL to 1.1.1d
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
66 ${OPENSSL_SOURCES_DIR}/crypto/idea/idea.h
faa695f433d5 upgraded OpenSSL to 1.1.1d
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
67 ${OPENSSL_SOURCES_DIR}/crypto/jpake/jpake.h
faa695f433d5 upgraded OpenSSL to 1.1.1d
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
68 ${OPENSSL_SOURCES_DIR}/crypto/krb5/krb5_asn.h
faa695f433d5 upgraded OpenSSL to 1.1.1d
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
69 ${OPENSSL_SOURCES_DIR}/crypto/lhash/lhash.h
faa695f433d5 upgraded OpenSSL to 1.1.1d
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
70 ${OPENSSL_SOURCES_DIR}/crypto/md2/md2.h
faa695f433d5 upgraded OpenSSL to 1.1.1d
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
71 ${OPENSSL_SOURCES_DIR}/crypto/md4/md4.h
faa695f433d5 upgraded OpenSSL to 1.1.1d
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
72 ${OPENSSL_SOURCES_DIR}/crypto/md5/md5.h
faa695f433d5 upgraded OpenSSL to 1.1.1d
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
73 ${OPENSSL_SOURCES_DIR}/crypto/mdc2/mdc2.h
faa695f433d5 upgraded OpenSSL to 1.1.1d
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
74 ${OPENSSL_SOURCES_DIR}/crypto/modes/modes.h
faa695f433d5 upgraded OpenSSL to 1.1.1d
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
75 ${OPENSSL_SOURCES_DIR}/crypto/objects/obj_mac.h
faa695f433d5 upgraded OpenSSL to 1.1.1d
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
76 ${OPENSSL_SOURCES_DIR}/crypto/objects/objects.h
faa695f433d5 upgraded OpenSSL to 1.1.1d
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
77 ${OPENSSL_SOURCES_DIR}/crypto/ocsp/ocsp.h
faa695f433d5 upgraded OpenSSL to 1.1.1d
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
78 ${OPENSSL_SOURCES_DIR}/crypto/opensslconf.h
faa695f433d5 upgraded OpenSSL to 1.1.1d
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
79 ${OPENSSL_SOURCES_DIR}/crypto/opensslv.h
faa695f433d5 upgraded OpenSSL to 1.1.1d
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
80 ${OPENSSL_SOURCES_DIR}/crypto/ossl_typ.h
faa695f433d5 upgraded OpenSSL to 1.1.1d
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
81 ${OPENSSL_SOURCES_DIR}/crypto/pem/pem.h
faa695f433d5 upgraded OpenSSL to 1.1.1d
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
82 ${OPENSSL_SOURCES_DIR}/crypto/pem/pem2.h
faa695f433d5 upgraded OpenSSL to 1.1.1d
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
83 ${OPENSSL_SOURCES_DIR}/crypto/pkcs12/pkcs12.h
faa695f433d5 upgraded OpenSSL to 1.1.1d
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
84 ${OPENSSL_SOURCES_DIR}/crypto/pkcs7/pkcs7.h
faa695f433d5 upgraded OpenSSL to 1.1.1d
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
85 ${OPENSSL_SOURCES_DIR}/crypto/pqueue/pqueue.h
faa695f433d5 upgraded OpenSSL to 1.1.1d
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
86 ${OPENSSL_SOURCES_DIR}/crypto/rand/rand.h
faa695f433d5 upgraded OpenSSL to 1.1.1d
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
87 ${OPENSSL_SOURCES_DIR}/crypto/rc2/rc2.h
faa695f433d5 upgraded OpenSSL to 1.1.1d
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
88 ${OPENSSL_SOURCES_DIR}/crypto/rc4/rc4.h
faa695f433d5 upgraded OpenSSL to 1.1.1d
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
89 ${OPENSSL_SOURCES_DIR}/crypto/rc5/rc5.h
faa695f433d5 upgraded OpenSSL to 1.1.1d
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
90 ${OPENSSL_SOURCES_DIR}/crypto/ripemd/ripemd.h
faa695f433d5 upgraded OpenSSL to 1.1.1d
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
91 ${OPENSSL_SOURCES_DIR}/crypto/rsa/rsa.h
faa695f433d5 upgraded OpenSSL to 1.1.1d
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
92 ${OPENSSL_SOURCES_DIR}/crypto/seed/seed.h
faa695f433d5 upgraded OpenSSL to 1.1.1d
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
93 ${OPENSSL_SOURCES_DIR}/crypto/sha/sha.h
faa695f433d5 upgraded OpenSSL to 1.1.1d
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
94 ${OPENSSL_SOURCES_DIR}/crypto/srp/srp.h
faa695f433d5 upgraded OpenSSL to 1.1.1d
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
95 ${OPENSSL_SOURCES_DIR}/crypto/stack/safestack.h
faa695f433d5 upgraded OpenSSL to 1.1.1d
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
96 ${OPENSSL_SOURCES_DIR}/crypto/stack/stack.h
faa695f433d5 upgraded OpenSSL to 1.1.1d
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
97 ${OPENSSL_SOURCES_DIR}/crypto/store/store.h
faa695f433d5 upgraded OpenSSL to 1.1.1d
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
98 ${OPENSSL_SOURCES_DIR}/crypto/symhacks.h
faa695f433d5 upgraded OpenSSL to 1.1.1d
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
99 ${OPENSSL_SOURCES_DIR}/crypto/ts/ts.h
faa695f433d5 upgraded OpenSSL to 1.1.1d
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
100 ${OPENSSL_SOURCES_DIR}/crypto/txt_db/txt_db.h
faa695f433d5 upgraded OpenSSL to 1.1.1d
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
101 ${OPENSSL_SOURCES_DIR}/crypto/ui/ui.h
faa695f433d5 upgraded OpenSSL to 1.1.1d
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
102 ${OPENSSL_SOURCES_DIR}/crypto/ui/ui_compat.h
faa695f433d5 upgraded OpenSSL to 1.1.1d
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
103 ${OPENSSL_SOURCES_DIR}/crypto/whrlpool/whrlpool.h
faa695f433d5 upgraded OpenSSL to 1.1.1d
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
104 ${OPENSSL_SOURCES_DIR}/crypto/x509/x509.h
faa695f433d5 upgraded OpenSSL to 1.1.1d
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
105 ${OPENSSL_SOURCES_DIR}/crypto/x509/x509_vfy.h
faa695f433d5 upgraded OpenSSL to 1.1.1d
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
106 ${OPENSSL_SOURCES_DIR}/crypto/x509v3/x509v3.h
faa695f433d5 upgraded OpenSSL to 1.1.1d
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
107 ${OPENSSL_SOURCES_DIR}/e_os2.h
faa695f433d5 upgraded OpenSSL to 1.1.1d
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
108 ${OPENSSL_SOURCES_DIR}/ssl/dtls1.h
faa695f433d5 upgraded OpenSSL to 1.1.1d
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
109 ${OPENSSL_SOURCES_DIR}/ssl/kssl.h
faa695f433d5 upgraded OpenSSL to 1.1.1d
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
110 ${OPENSSL_SOURCES_DIR}/ssl/srtp.h
faa695f433d5 upgraded OpenSSL to 1.1.1d
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
111 ${OPENSSL_SOURCES_DIR}/ssl/ssl.h
faa695f433d5 upgraded OpenSSL to 1.1.1d
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
112 ${OPENSSL_SOURCES_DIR}/ssl/ssl2.h
faa695f433d5 upgraded OpenSSL to 1.1.1d
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
113 ${OPENSSL_SOURCES_DIR}/ssl/ssl23.h
faa695f433d5 upgraded OpenSSL to 1.1.1d
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
114 ${OPENSSL_SOURCES_DIR}/ssl/ssl3.h
faa695f433d5 upgraded OpenSSL to 1.1.1d
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
115 ${OPENSSL_SOURCES_DIR}/ssl/tls1.h
faa695f433d5 upgraded OpenSSL to 1.1.1d
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
116 )
faa695f433d5 upgraded OpenSSL to 1.1.1d
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
117 file(COPY ${header} DESTINATION ${OPENSSL_SOURCES_DIR}/include/openssl)
faa695f433d5 upgraded OpenSSL to 1.1.1d
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
118 endforeach()
faa695f433d5 upgraded OpenSSL to 1.1.1d
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
119
faa695f433d5 upgraded OpenSSL to 1.1.1d
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
120 file(RENAME
faa695f433d5 upgraded OpenSSL to 1.1.1d
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
121 ${OPENSSL_SOURCES_DIR}/include/openssl/e_os2.h
faa695f433d5 upgraded OpenSSL to 1.1.1d
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
122 ${OPENSSL_SOURCES_DIR}/include/openssl/e_os2_source.h)
faa695f433d5 upgraded OpenSSL to 1.1.1d
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
123
faa695f433d5 upgraded OpenSSL to 1.1.1d
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
124 # The following patch of "e_os2.h" prevents from building OpenSSL
faa695f433d5 upgraded OpenSSL to 1.1.1d
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
125 # as a DLL under Windows. Otherwise, symbols have inconsistent
faa695f433d5 upgraded OpenSSL to 1.1.1d
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
126 # linkage if ${OPENSSL_SOURCES} is used to create a DLL (notably
4368
781f53eee856 fix OpenSslConfigurationStatic-1.1.1.cmake to generate windows plugins
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 4120
diff changeset
127 # if building an Orthanc plugin such as PostgreSQL or MySQL).
3720
faa695f433d5 upgraded OpenSSL to 1.1.1d
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
128 file(WRITE ${OPENSSL_SOURCES_DIR}/include/openssl/e_os2.h "
faa695f433d5 upgraded OpenSSL to 1.1.1d
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
129 #include \"e_os2_source.h\"
faa695f433d5 upgraded OpenSSL to 1.1.1d
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
130 #if defined(_WIN32)
faa695f433d5 upgraded OpenSSL to 1.1.1d
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
131 # undef OPENSSL_EXPORT
faa695f433d5 upgraded OpenSSL to 1.1.1d
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
132 # undef OPENSSL_IMPORT
faa695f433d5 upgraded OpenSSL to 1.1.1d
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
133 # undef OPENSSL_EXTERN
faa695f433d5 upgraded OpenSSL to 1.1.1d
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
134 # undef OPENSSL_GLOBAL
faa695f433d5 upgraded OpenSSL to 1.1.1d
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
135 # define OPENSSL_EXPORT
faa695f433d5 upgraded OpenSSL to 1.1.1d
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
136 # define OPENSSL_IMPORT
faa695f433d5 upgraded OpenSSL to 1.1.1d
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
137 # define OPENSSL_EXTERN extern
faa695f433d5 upgraded OpenSSL to 1.1.1d
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
138 # define OPENSSL_GLOBAL
faa695f433d5 upgraded OpenSSL to 1.1.1d
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
139 #endif
faa695f433d5 upgraded OpenSSL to 1.1.1d
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
140 ")
faa695f433d5 upgraded OpenSSL to 1.1.1d
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
141 endif()
faa695f433d5 upgraded OpenSSL to 1.1.1d
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
142
faa695f433d5 upgraded OpenSSL to 1.1.1d
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
143 add_definitions(
faa695f433d5 upgraded OpenSSL to 1.1.1d
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
144 -DOPENSSL_THREADS
faa695f433d5 upgraded OpenSSL to 1.1.1d
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
145 -DOPENSSL_IA32_SSE2
faa695f433d5 upgraded OpenSSL to 1.1.1d
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
146 -DOPENSSL_NO_ASM
faa695f433d5 upgraded OpenSSL to 1.1.1d
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
147 -DOPENSSL_NO_DYNAMIC_ENGINE
faa695f433d5 upgraded OpenSSL to 1.1.1d
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
148 -DNO_WINDOWS_BRAINDEATH
faa695f433d5 upgraded OpenSSL to 1.1.1d
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
149
faa695f433d5 upgraded OpenSSL to 1.1.1d
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
150 -DOPENSSL_NO_BF
faa695f433d5 upgraded OpenSSL to 1.1.1d
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
151 -DOPENSSL_NO_CAMELLIA
faa695f433d5 upgraded OpenSSL to 1.1.1d
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
152 -DOPENSSL_NO_CAST
faa695f433d5 upgraded OpenSSL to 1.1.1d
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
153 -DOPENSSL_NO_EC_NISTP_64_GCC_128
faa695f433d5 upgraded OpenSSL to 1.1.1d
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
154 -DOPENSSL_NO_GMP
faa695f433d5 upgraded OpenSSL to 1.1.1d
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
155 -DOPENSSL_NO_GOST
faa695f433d5 upgraded OpenSSL to 1.1.1d
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
156 -DOPENSSL_NO_HW
faa695f433d5 upgraded OpenSSL to 1.1.1d
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
157 -DOPENSSL_NO_JPAKE
faa695f433d5 upgraded OpenSSL to 1.1.1d
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
158 -DOPENSSL_NO_IDEA
faa695f433d5 upgraded OpenSSL to 1.1.1d
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
159 -DOPENSSL_NO_KRB5
faa695f433d5 upgraded OpenSSL to 1.1.1d
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
160 -DOPENSSL_NO_MD2
faa695f433d5 upgraded OpenSSL to 1.1.1d
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
161 -DOPENSSL_NO_MDC2
faa695f433d5 upgraded OpenSSL to 1.1.1d
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
162 #-DOPENSSL_NO_MD4 # MD4 is necessary for MariaDB/MySQL client
faa695f433d5 upgraded OpenSSL to 1.1.1d
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
163 -DOPENSSL_NO_RC2
faa695f433d5 upgraded OpenSSL to 1.1.1d
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
164 -DOPENSSL_NO_RC4
faa695f433d5 upgraded OpenSSL to 1.1.1d
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
165 -DOPENSSL_NO_RC5
faa695f433d5 upgraded OpenSSL to 1.1.1d
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
166 -DOPENSSL_NO_RFC3779
faa695f433d5 upgraded OpenSSL to 1.1.1d
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
167 -DOPENSSL_NO_SCTP
faa695f433d5 upgraded OpenSSL to 1.1.1d
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
168 -DOPENSSL_NO_STORE
faa695f433d5 upgraded OpenSSL to 1.1.1d
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
169 -DOPENSSL_NO_SEED
faa695f433d5 upgraded OpenSSL to 1.1.1d
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
170 -DOPENSSL_NO_WHIRLPOOL
faa695f433d5 upgraded OpenSSL to 1.1.1d
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
171 -DOPENSSL_NO_RIPEMD
faa695f433d5 upgraded OpenSSL to 1.1.1d
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
172 )
faa695f433d5 upgraded OpenSSL to 1.1.1d
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
173
faa695f433d5 upgraded OpenSSL to 1.1.1d
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
174 include_directories(
faa695f433d5 upgraded OpenSSL to 1.1.1d
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
175 ${OPENSSL_SOURCES_DIR}
faa695f433d5 upgraded OpenSSL to 1.1.1d
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
176 ${OPENSSL_SOURCES_DIR}/crypto
faa695f433d5 upgraded OpenSSL to 1.1.1d
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
177 ${OPENSSL_SOURCES_DIR}/crypto/asn1
faa695f433d5 upgraded OpenSSL to 1.1.1d
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
178 ${OPENSSL_SOURCES_DIR}/crypto/modes
faa695f433d5 upgraded OpenSSL to 1.1.1d
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
179 ${OPENSSL_SOURCES_DIR}/crypto/evp
faa695f433d5 upgraded OpenSSL to 1.1.1d
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
180 ${OPENSSL_SOURCES_DIR}/include
faa695f433d5 upgraded OpenSSL to 1.1.1d
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
181 )
faa695f433d5 upgraded OpenSSL to 1.1.1d
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
182
faa695f433d5 upgraded OpenSSL to 1.1.1d
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
183 set(OPENSSL_SOURCES_SUBDIRS
faa695f433d5 upgraded OpenSSL to 1.1.1d
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
184 ${OPENSSL_SOURCES_DIR}/crypto
faa695f433d5 upgraded OpenSSL to 1.1.1d
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
185 ${OPENSSL_SOURCES_DIR}/crypto/aes
faa695f433d5 upgraded OpenSSL to 1.1.1d
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
186 ${OPENSSL_SOURCES_DIR}/crypto/asn1
faa695f433d5 upgraded OpenSSL to 1.1.1d
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
187 ${OPENSSL_SOURCES_DIR}/crypto/bio
faa695f433d5 upgraded OpenSSL to 1.1.1d
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
188 ${OPENSSL_SOURCES_DIR}/crypto/bn
faa695f433d5 upgraded OpenSSL to 1.1.1d
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
189 ${OPENSSL_SOURCES_DIR}/crypto/buffer
faa695f433d5 upgraded OpenSSL to 1.1.1d
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
190 ${OPENSSL_SOURCES_DIR}/crypto/cmac
faa695f433d5 upgraded OpenSSL to 1.1.1d
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
191 ${OPENSSL_SOURCES_DIR}/crypto/cms
faa695f433d5 upgraded OpenSSL to 1.1.1d
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
192 ${OPENSSL_SOURCES_DIR}/crypto/comp
faa695f433d5 upgraded OpenSSL to 1.1.1d
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
193 ${OPENSSL_SOURCES_DIR}/crypto/conf
faa695f433d5 upgraded OpenSSL to 1.1.1d
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
194 ${OPENSSL_SOURCES_DIR}/crypto/des
faa695f433d5 upgraded OpenSSL to 1.1.1d
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
195 ${OPENSSL_SOURCES_DIR}/crypto/dh
faa695f433d5 upgraded OpenSSL to 1.1.1d
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
196 ${OPENSSL_SOURCES_DIR}/crypto/dsa
faa695f433d5 upgraded OpenSSL to 1.1.1d
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
197 ${OPENSSL_SOURCES_DIR}/crypto/dso
faa695f433d5 upgraded OpenSSL to 1.1.1d
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
198 ${OPENSSL_SOURCES_DIR}/crypto/engine
faa695f433d5 upgraded OpenSSL to 1.1.1d
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
199 ${OPENSSL_SOURCES_DIR}/crypto/err
faa695f433d5 upgraded OpenSSL to 1.1.1d
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
200 ${OPENSSL_SOURCES_DIR}/crypto/evp
faa695f433d5 upgraded OpenSSL to 1.1.1d
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
201 ${OPENSSL_SOURCES_DIR}/crypto/hmac
faa695f433d5 upgraded OpenSSL to 1.1.1d
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
202 ${OPENSSL_SOURCES_DIR}/crypto/lhash
faa695f433d5 upgraded OpenSSL to 1.1.1d
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
203 ${OPENSSL_SOURCES_DIR}/crypto/md4
faa695f433d5 upgraded OpenSSL to 1.1.1d
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
204 ${OPENSSL_SOURCES_DIR}/crypto/md5
faa695f433d5 upgraded OpenSSL to 1.1.1d
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
205 ${OPENSSL_SOURCES_DIR}/crypto/modes
faa695f433d5 upgraded OpenSSL to 1.1.1d
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
206 ${OPENSSL_SOURCES_DIR}/crypto/objects
faa695f433d5 upgraded OpenSSL to 1.1.1d
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
207 ${OPENSSL_SOURCES_DIR}/crypto/ocsp
faa695f433d5 upgraded OpenSSL to 1.1.1d
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
208 ${OPENSSL_SOURCES_DIR}/crypto/pem
faa695f433d5 upgraded OpenSSL to 1.1.1d
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
209 ${OPENSSL_SOURCES_DIR}/crypto/pkcs12
faa695f433d5 upgraded OpenSSL to 1.1.1d
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
210 ${OPENSSL_SOURCES_DIR}/crypto/pkcs7
faa695f433d5 upgraded OpenSSL to 1.1.1d
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
211 ${OPENSSL_SOURCES_DIR}/crypto/pqueue
faa695f433d5 upgraded OpenSSL to 1.1.1d
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
212 ${OPENSSL_SOURCES_DIR}/crypto/rand
faa695f433d5 upgraded OpenSSL to 1.1.1d
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
213 ${OPENSSL_SOURCES_DIR}/crypto/rsa
faa695f433d5 upgraded OpenSSL to 1.1.1d
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
214 ${OPENSSL_SOURCES_DIR}/crypto/sha
faa695f433d5 upgraded OpenSSL to 1.1.1d
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
215 ${OPENSSL_SOURCES_DIR}/crypto/srp
faa695f433d5 upgraded OpenSSL to 1.1.1d
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
216 ${OPENSSL_SOURCES_DIR}/crypto/stack
faa695f433d5 upgraded OpenSSL to 1.1.1d
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
217 ${OPENSSL_SOURCES_DIR}/crypto/ts
faa695f433d5 upgraded OpenSSL to 1.1.1d
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
218 ${OPENSSL_SOURCES_DIR}/crypto/txt_db
faa695f433d5 upgraded OpenSSL to 1.1.1d
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
219 ${OPENSSL_SOURCES_DIR}/crypto/ui
faa695f433d5 upgraded OpenSSL to 1.1.1d
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
220 ${OPENSSL_SOURCES_DIR}/crypto/x509
faa695f433d5 upgraded OpenSSL to 1.1.1d
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
221 ${OPENSSL_SOURCES_DIR}/crypto/x509v3
faa695f433d5 upgraded OpenSSL to 1.1.1d
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
222 ${OPENSSL_SOURCES_DIR}/ssl
faa695f433d5 upgraded OpenSSL to 1.1.1d
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
223 )
faa695f433d5 upgraded OpenSSL to 1.1.1d
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
224
faa695f433d5 upgraded OpenSSL to 1.1.1d
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
225 if (ENABLE_OPENSSL_ENGINES)
faa695f433d5 upgraded OpenSSL to 1.1.1d
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
226 list(APPEND OPENSSL_SOURCES_SUBDIRS
faa695f433d5 upgraded OpenSSL to 1.1.1d
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
227 ${OPENSSL_SOURCES_DIR}/engines
faa695f433d5 upgraded OpenSSL to 1.1.1d
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
228 )
faa695f433d5 upgraded OpenSSL to 1.1.1d
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
229 endif()
faa695f433d5 upgraded OpenSSL to 1.1.1d
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
230
faa695f433d5 upgraded OpenSSL to 1.1.1d
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
231 list(APPEND OPENSSL_SOURCES_SUBDIRS
faa695f433d5 upgraded OpenSSL to 1.1.1d
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
232 # EC, ECDH and ECDSA are necessary for PKCS11, and for contacting
faa695f433d5 upgraded OpenSSL to 1.1.1d
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
233 # HTTPS servers that use TLS certificate encrypted with ECDSA
faa695f433d5 upgraded OpenSSL to 1.1.1d
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
234 # (check the output of a recent version of the "sslscan"
faa695f433d5 upgraded OpenSSL to 1.1.1d
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
235 # command). Until Orthanc <= 1.4.1, these features were only
faa695f433d5 upgraded OpenSSL to 1.1.1d
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
236 # enabled if ENABLE_PKCS11 support was set to "ON".
faa695f433d5 upgraded OpenSSL to 1.1.1d
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
237 # https://groups.google.com/d/msg/orthanc-users/2l-bhYIMEWg/oMmK33bYBgAJ
faa695f433d5 upgraded OpenSSL to 1.1.1d
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
238 ${OPENSSL_SOURCES_DIR}/crypto/ec
faa695f433d5 upgraded OpenSSL to 1.1.1d
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
239 ${OPENSSL_SOURCES_DIR}/crypto/ecdh
faa695f433d5 upgraded OpenSSL to 1.1.1d
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
240 ${OPENSSL_SOURCES_DIR}/crypto/ecdsa
faa695f433d5 upgraded OpenSSL to 1.1.1d
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
241 )
faa695f433d5 upgraded OpenSSL to 1.1.1d
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
242
faa695f433d5 upgraded OpenSSL to 1.1.1d
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
243 foreach(d ${OPENSSL_SOURCES_SUBDIRS})
faa695f433d5 upgraded OpenSSL to 1.1.1d
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
244 AUX_SOURCE_DIRECTORY(${d} OPENSSL_SOURCES)
faa695f433d5 upgraded OpenSSL to 1.1.1d
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
245 endforeach()
faa695f433d5 upgraded OpenSSL to 1.1.1d
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
246
faa695f433d5 upgraded OpenSSL to 1.1.1d
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
247 list(REMOVE_ITEM OPENSSL_SOURCES
faa695f433d5 upgraded OpenSSL to 1.1.1d
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
248 ${OPENSSL_SOURCES_DIR}/crypto/LPdir_unix.c
faa695f433d5 upgraded OpenSSL to 1.1.1d
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
249 ${OPENSSL_SOURCES_DIR}/crypto/LPdir_vms.c
faa695f433d5 upgraded OpenSSL to 1.1.1d
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
250 ${OPENSSL_SOURCES_DIR}/crypto/LPdir_win.c
faa695f433d5 upgraded OpenSSL to 1.1.1d
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
251 ${OPENSSL_SOURCES_DIR}/crypto/LPdir_win32.c
faa695f433d5 upgraded OpenSSL to 1.1.1d
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
252 ${OPENSSL_SOURCES_DIR}/crypto/LPdir_wince.c
faa695f433d5 upgraded OpenSSL to 1.1.1d
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
253 ${OPENSSL_SOURCES_DIR}/crypto/armcap.c
faa695f433d5 upgraded OpenSSL to 1.1.1d
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
254 ${OPENSSL_SOURCES_DIR}/crypto/bf/bfs.cpp
faa695f433d5 upgraded OpenSSL to 1.1.1d
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
255 ${OPENSSL_SOURCES_DIR}/crypto/bio/bss_rtcp.c
faa695f433d5 upgraded OpenSSL to 1.1.1d
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
256 ${OPENSSL_SOURCES_DIR}/crypto/bn/exp.c
faa695f433d5 upgraded OpenSSL to 1.1.1d
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
257 ${OPENSSL_SOURCES_DIR}/crypto/conf/cnf_save.c
faa695f433d5 upgraded OpenSSL to 1.1.1d
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
258 ${OPENSSL_SOURCES_DIR}/crypto/conf/test.c
faa695f433d5 upgraded OpenSSL to 1.1.1d
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
259 ${OPENSSL_SOURCES_DIR}/crypto/des/des.c
faa695f433d5 upgraded OpenSSL to 1.1.1d
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
260 ${OPENSSL_SOURCES_DIR}/crypto/des/des3s.cpp
faa695f433d5 upgraded OpenSSL to 1.1.1d
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
261 ${OPENSSL_SOURCES_DIR}/crypto/des/des_opts.c
faa695f433d5 upgraded OpenSSL to 1.1.1d
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
262 ${OPENSSL_SOURCES_DIR}/crypto/des/dess.cpp
faa695f433d5 upgraded OpenSSL to 1.1.1d
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
263 ${OPENSSL_SOURCES_DIR}/crypto/des/read_pwd.c
faa695f433d5 upgraded OpenSSL to 1.1.1d
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
264 ${OPENSSL_SOURCES_DIR}/crypto/des/speed.c
faa695f433d5 upgraded OpenSSL to 1.1.1d
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
265 ${OPENSSL_SOURCES_DIR}/crypto/evp/e_dsa.c
faa695f433d5 upgraded OpenSSL to 1.1.1d
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
266 ${OPENSSL_SOURCES_DIR}/crypto/evp/m_ripemd.c
faa695f433d5 upgraded OpenSSL to 1.1.1d
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
267 ${OPENSSL_SOURCES_DIR}/crypto/lhash/lh_test.c
faa695f433d5 upgraded OpenSSL to 1.1.1d
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
268 ${OPENSSL_SOURCES_DIR}/crypto/md4/md4.c
faa695f433d5 upgraded OpenSSL to 1.1.1d
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
269 ${OPENSSL_SOURCES_DIR}/crypto/md4/md4s.cpp
faa695f433d5 upgraded OpenSSL to 1.1.1d
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
270 ${OPENSSL_SOURCES_DIR}/crypto/md4/md4test.c
faa695f433d5 upgraded OpenSSL to 1.1.1d
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
271 ${OPENSSL_SOURCES_DIR}/crypto/md5/md5s.cpp
faa695f433d5 upgraded OpenSSL to 1.1.1d
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
272 ${OPENSSL_SOURCES_DIR}/crypto/pkcs7/bio_ber.c
faa695f433d5 upgraded OpenSSL to 1.1.1d
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
273 ${OPENSSL_SOURCES_DIR}/crypto/pkcs7/pk7_enc.c
faa695f433d5 upgraded OpenSSL to 1.1.1d
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
274 ${OPENSSL_SOURCES_DIR}/crypto/ppccap.c
faa695f433d5 upgraded OpenSSL to 1.1.1d
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
275 ${OPENSSL_SOURCES_DIR}/crypto/rand/randtest.c
faa695f433d5 upgraded OpenSSL to 1.1.1d
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
276 ${OPENSSL_SOURCES_DIR}/crypto/s390xcap.c
faa695f433d5 upgraded OpenSSL to 1.1.1d
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
277 ${OPENSSL_SOURCES_DIR}/crypto/sparcv9cap.c
faa695f433d5 upgraded OpenSSL to 1.1.1d
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
278 ${OPENSSL_SOURCES_DIR}/crypto/x509v3/tabtest.c
faa695f433d5 upgraded OpenSSL to 1.1.1d
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
279 ${OPENSSL_SOURCES_DIR}/crypto/x509v3/v3conf.c
faa695f433d5 upgraded OpenSSL to 1.1.1d
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
280 ${OPENSSL_SOURCES_DIR}/ssl/ssl_task.c
faa695f433d5 upgraded OpenSSL to 1.1.1d
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
281 ${OPENSSL_SOURCES_DIR}/crypto/LPdir_nyi.c
faa695f433d5 upgraded OpenSSL to 1.1.1d
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
282 ${OPENSSL_SOURCES_DIR}/crypto/aes/aes_x86core.c
faa695f433d5 upgraded OpenSSL to 1.1.1d
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
283 ${OPENSSL_SOURCES_DIR}/crypto/bio/bss_dgram.c
faa695f433d5 upgraded OpenSSL to 1.1.1d
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
284 ${OPENSSL_SOURCES_DIR}/crypto/bn/bntest.c
faa695f433d5 upgraded OpenSSL to 1.1.1d
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
285 ${OPENSSL_SOURCES_DIR}/crypto/bn/expspeed.c
faa695f433d5 upgraded OpenSSL to 1.1.1d
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
286 ${OPENSSL_SOURCES_DIR}/crypto/bn/exptest.c
faa695f433d5 upgraded OpenSSL to 1.1.1d
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
287 ${OPENSSL_SOURCES_DIR}/crypto/engine/enginetest.c
faa695f433d5 upgraded OpenSSL to 1.1.1d
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
288 ${OPENSSL_SOURCES_DIR}/crypto/evp/evp_test.c
faa695f433d5 upgraded OpenSSL to 1.1.1d
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
289 ${OPENSSL_SOURCES_DIR}/crypto/hmac/hmactest.c
faa695f433d5 upgraded OpenSSL to 1.1.1d
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
290 ${OPENSSL_SOURCES_DIR}/crypto/md5/md5.c
faa695f433d5 upgraded OpenSSL to 1.1.1d
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
291 ${OPENSSL_SOURCES_DIR}/crypto/md5/md5test.c
faa695f433d5 upgraded OpenSSL to 1.1.1d
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
292 ${OPENSSL_SOURCES_DIR}/crypto/o_dir_test.c
faa695f433d5 upgraded OpenSSL to 1.1.1d
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
293 ${OPENSSL_SOURCES_DIR}/crypto/pkcs7/dec.c
faa695f433d5 upgraded OpenSSL to 1.1.1d
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
294 ${OPENSSL_SOURCES_DIR}/crypto/pkcs7/enc.c
faa695f433d5 upgraded OpenSSL to 1.1.1d
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
295 ${OPENSSL_SOURCES_DIR}/crypto/pkcs7/sign.c
faa695f433d5 upgraded OpenSSL to 1.1.1d
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
296 ${OPENSSL_SOURCES_DIR}/crypto/pkcs7/verify.c
faa695f433d5 upgraded OpenSSL to 1.1.1d
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
297 ${OPENSSL_SOURCES_DIR}/crypto/rsa/rsa_test.c
faa695f433d5 upgraded OpenSSL to 1.1.1d
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
298 ${OPENSSL_SOURCES_DIR}/crypto/sha/sha.c
faa695f433d5 upgraded OpenSSL to 1.1.1d
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
299 ${OPENSSL_SOURCES_DIR}/crypto/sha/sha1.c
faa695f433d5 upgraded OpenSSL to 1.1.1d
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
300 ${OPENSSL_SOURCES_DIR}/crypto/sha/sha1t.c
faa695f433d5 upgraded OpenSSL to 1.1.1d
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
301 ${OPENSSL_SOURCES_DIR}/crypto/sha/sha1test.c
faa695f433d5 upgraded OpenSSL to 1.1.1d
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
302 ${OPENSSL_SOURCES_DIR}/crypto/sha/sha256t.c
faa695f433d5 upgraded OpenSSL to 1.1.1d
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
303 ${OPENSSL_SOURCES_DIR}/crypto/sha/sha512t.c
faa695f433d5 upgraded OpenSSL to 1.1.1d
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
304 ${OPENSSL_SOURCES_DIR}/crypto/sha/shatest.c
faa695f433d5 upgraded OpenSSL to 1.1.1d
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
305 ${OPENSSL_SOURCES_DIR}/crypto/srp/srptest.c
faa695f433d5 upgraded OpenSSL to 1.1.1d
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
306
faa695f433d5 upgraded OpenSSL to 1.1.1d
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
307 ${OPENSSL_SOURCES_DIR}/crypto/bn/divtest.c
faa695f433d5 upgraded OpenSSL to 1.1.1d
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
308 ${OPENSSL_SOURCES_DIR}/crypto/bn/bnspeed.c
faa695f433d5 upgraded OpenSSL to 1.1.1d
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
309 ${OPENSSL_SOURCES_DIR}/crypto/des/destest.c
faa695f433d5 upgraded OpenSSL to 1.1.1d
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
310 ${OPENSSL_SOURCES_DIR}/crypto/dh/p192.c
faa695f433d5 upgraded OpenSSL to 1.1.1d
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
311 ${OPENSSL_SOURCES_DIR}/crypto/dh/p512.c
faa695f433d5 upgraded OpenSSL to 1.1.1d
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
312 ${OPENSSL_SOURCES_DIR}/crypto/dh/p1024.c
faa695f433d5 upgraded OpenSSL to 1.1.1d
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
313 ${OPENSSL_SOURCES_DIR}/crypto/des/rpw.c
faa695f433d5 upgraded OpenSSL to 1.1.1d
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
314 ${OPENSSL_SOURCES_DIR}/ssl/ssltest.c
faa695f433d5 upgraded OpenSSL to 1.1.1d
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
315 ${OPENSSL_SOURCES_DIR}/crypto/dsa/dsagen.c
faa695f433d5 upgraded OpenSSL to 1.1.1d
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
316 ${OPENSSL_SOURCES_DIR}/crypto/dsa/dsatest.c
faa695f433d5 upgraded OpenSSL to 1.1.1d
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
317 ${OPENSSL_SOURCES_DIR}/crypto/dh/dhtest.c
faa695f433d5 upgraded OpenSSL to 1.1.1d
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
318 ${OPENSSL_SOURCES_DIR}/crypto/pqueue/pq_test.c
faa695f433d5 upgraded OpenSSL to 1.1.1d
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
319 ${OPENSSL_SOURCES_DIR}/crypto/des/ncbc_enc.c
faa695f433d5 upgraded OpenSSL to 1.1.1d
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
320
faa695f433d5 upgraded OpenSSL to 1.1.1d
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
321 ${OPENSSL_SOURCES_DIR}/crypto/evp/evp_extra_test.c
faa695f433d5 upgraded OpenSSL to 1.1.1d
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
322 ${OPENSSL_SOURCES_DIR}/crypto/evp/verify_extra_test.c
faa695f433d5 upgraded OpenSSL to 1.1.1d
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
323 ${OPENSSL_SOURCES_DIR}/crypto/x509/verify_extra_test.c
faa695f433d5 upgraded OpenSSL to 1.1.1d
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
324 ${OPENSSL_SOURCES_DIR}/crypto/x509v3/v3prin.c
faa695f433d5 upgraded OpenSSL to 1.1.1d
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
325 ${OPENSSL_SOURCES_DIR}/crypto/x509v3/v3nametest.c
faa695f433d5 upgraded OpenSSL to 1.1.1d
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
326 ${OPENSSL_SOURCES_DIR}/crypto/constant_time_test.c
faa695f433d5 upgraded OpenSSL to 1.1.1d
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
327
faa695f433d5 upgraded OpenSSL to 1.1.1d
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
328 ${OPENSSL_SOURCES_DIR}/ssl/heartbeat_test.c
faa695f433d5 upgraded OpenSSL to 1.1.1d
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
329 ${OPENSSL_SOURCES_DIR}/ssl/fatalerrtest.c
faa695f433d5 upgraded OpenSSL to 1.1.1d
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
330 ${OPENSSL_SOURCES_DIR}/ssl/dtlstest.c
faa695f433d5 upgraded OpenSSL to 1.1.1d
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
331 ${OPENSSL_SOURCES_DIR}/ssl/bad_dtls_test.c
faa695f433d5 upgraded OpenSSL to 1.1.1d
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
332 ${OPENSSL_SOURCES_DIR}/ssl/clienthellotest.c
faa695f433d5 upgraded OpenSSL to 1.1.1d
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
333 ${OPENSSL_SOURCES_DIR}/ssl/sslv2conftest.c
faa695f433d5 upgraded OpenSSL to 1.1.1d
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
334
faa695f433d5 upgraded OpenSSL to 1.1.1d
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
335 ${OPENSSL_SOURCES_DIR}/crypto/ec/ecp_nistz256.c
faa695f433d5 upgraded OpenSSL to 1.1.1d
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
336 ${OPENSSL_SOURCES_DIR}/crypto/ec/ecp_nistz256_table.c
faa695f433d5 upgraded OpenSSL to 1.1.1d
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
337 ${OPENSSL_SOURCES_DIR}/crypto/ec/ectest.c
faa695f433d5 upgraded OpenSSL to 1.1.1d
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
338 ${OPENSSL_SOURCES_DIR}/crypto/ecdh/ecdhtest.c
faa695f433d5 upgraded OpenSSL to 1.1.1d
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
339 ${OPENSSL_SOURCES_DIR}/crypto/ecdsa/ecdsatest.c
faa695f433d5 upgraded OpenSSL to 1.1.1d
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
340 )
faa695f433d5 upgraded OpenSSL to 1.1.1d
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
341
faa695f433d5 upgraded OpenSSL to 1.1.1d
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
342
faa695f433d5 upgraded OpenSSL to 1.1.1d
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
343 if ("${CMAKE_SYSTEM_NAME}" STREQUAL "Windows")
faa695f433d5 upgraded OpenSSL to 1.1.1d
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
344 set_source_files_properties(
faa695f433d5 upgraded OpenSSL to 1.1.1d
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
345 ${OPENSSL_SOURCES}
faa695f433d5 upgraded OpenSSL to 1.1.1d
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
346 PROPERTIES COMPILE_DEFINITIONS
faa695f433d5 upgraded OpenSSL to 1.1.1d
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
347 "OPENSSL_SYSNAME_WIN32;SO_WIN32;WIN32_LEAN_AND_MEAN;L_ENDIAN")
faa695f433d5 upgraded OpenSSL to 1.1.1d
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
348
faa695f433d5 upgraded OpenSSL to 1.1.1d
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
349 if (ENABLE_OPENSSL_ENGINES)
faa695f433d5 upgraded OpenSSL to 1.1.1d
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
350 link_libraries(crypt32)
faa695f433d5 upgraded OpenSSL to 1.1.1d
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
351 endif()
faa695f433d5 upgraded OpenSSL to 1.1.1d
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
352 endif()