60 Commits

Author SHA1 Message Date
Theo Buehler
67ab6a1187 Neuter namespace differently to fix Appveyor CI 2022-11-23 12:46:44 +01:00
Theo Buehler
35265d0e44 Fix cmake builds 2022-11-22 19:26:59 +01:00
Brent Cook
ed9359727a build updates for latest upstream 2022-08-29 09:06:06 -05:00
Brent Cook
cc613e785e updates for new files and test cases 2022-07-31 23:31:18 -05:00
Brent Cook
2518dbc948 update for latest changes 2022-07-10 21:44:36 -05:00
kinichiro
ea53dcd569 Fix build
- Remove pem/pem_seal.c asn1/x_nx509.c asn1/n_pkey.c
- Remove evp/m_dss.c evp/m_dss1.c evp/m_ecdsa.c
- Add include path crypto/bio to libssl for bio_local.h
2022-01-14 22:18:37 +09:00
kinichiro
71f437de62 Follow upstream file changes and fix build
- Add asn1_lib.c
- Consolidation of ASN.1 code
  Add asn1_item.c asn1_old.c
  Remove a_d2i_fp.c a_digest.c a_dup.c a_i2d_fp.c a_sign.c a_verify.c
- Merge evp_asn1.c into a_type.c
- Merge asn_pack.c into asn1_item.c
- Rename tls13_key_share.c to tls_key_share.c
- Add bio/bio_local.h dh/dh_local.h ocsp/ocsp_local.h
- Add comp/comp_local.h
- Add define LIBRESSL_CRYPTO_INTERNAL to regress build
2022-01-12 20:04:53 +09:00
kinichiro
244fd5608f Add crypto/bytestring with cmake 2021-12-11 22:05:40 +09:00
kinichiro
c211d97ecb Remove unneeded target_include_directories with cmake
This could remove recurring of the same statement for include directories.
Instead of this removals, apps/* and tests  should have include path that
had been provided by INTERFACE_INCLUDE_DIRECTORIES of target libs and
internal static libs.
2021-12-04 14:36:39 +09:00
kinichiro
870a1ebbc2 Build static library for regression tests when shared build with CMake 2021-11-27 20:57:14 +09:00
Brent Cook
04ab1061f3 build updates 2021-11-08 07:33:50 -06:00
Brent Cook
ee7e39e746 add new files to build 2021-09-08 03:23:09 -05:00
kinichiro
28e428e684 Add tls12_key_schedule.c 2021-05-10 22:54:44 +09:00
kinichiro
9971b0820c Use object library for CMake 2021-05-02 14:27:57 +09:00
Brent Cook
a11cc93c1f add tls12_lib.c 2021-04-27 07:07:42 -05:00
Brent Cook
db7afc7e98 remove d1_clnt/d1_srvr 2020-10-06 22:37:47 -05:00
kinichiro
1841e199ac Add ssl/tls12_record_layer.c 2020-09-02 20:53:44 +09:00
Brent Cook
c156a72a6f remove d1_enc.c 2020-03-14 06:22:31 -05:00
Dan Nestor
3e645e1ba2
SSL target properties when building static libs 2020-03-02 11:43:27 +01:00
Brent Cook
7f3bfc8922 add new libssl files 2020-02-15 11:21:26 -06:00
Brent Cook
1dc5ece7a9 add tls_error for cmake builds 2020-01-26 08:44:16 -06:00
Brent Cook
77216eec7a add tls13_server.c 2019-11-18 01:20:04 -06:00
kinichiro
4ea2a01a0d Add ssl/ssl_transcript.c and remove ssl/t1_hash.c 2019-03-04 23:27:18 +09:00
Brent Cook
aa85c64caf add tls13_client 2019-01-21 16:06:45 -06:00
Brent Cook
d649daf41d add new files 2019-01-21 06:14:21 -06:00
Brent Cook
f67724d084 add more tls13 files 2019-01-20 16:25:25 -06:00
Brent Cook
695919e059 add new files and tests 2019-01-20 15:28:46 -06:00
Brent Cook
3ab11de0f1 adjust for latest upstream changes 2019-01-18 18:38:59 -06:00
Brent Cook
e59ea94f62 add tls13_[tlsext|buffer].* and buffertest 2019-01-18 17:13:36 -06:00
Brent Cook
f5ec56f4c5 latest updates 2018-11-09 12:12:30 -06:00
Brent Cook
6564332d4d add key_schedule test, tls13 key schedule bits 2018-11-08 13:59:55 -07:00
bobsayshilol
34394e7ee0 Misc fixes to bring portable in line with upstream. 2018-11-07 23:45:17 +00:00
kinichiro
0b8343ace3 Fix cmake to generate proper Libs.private in .pc files 2018-10-05 22:59:44 +09:00
kinichiro
f819a2bce7 Fix cmake linking libraries 2018-10-03 20:35:36 +09:00
Brent Cook
64b6951576 make headers under include/compat private again 2018-06-14 04:48:59 -05:00
Brent Cook
4fcfc82d83 scope private/public headers when embedding into other projects
thanks to Cameron Palmer
2018-05-29 05:46:54 -05:00
Don
26bebfc564 Use BUILD_SHARED_LIBS to specify library type 2018-03-21 10:24:52 -07:00
Brent Cook
366071c2cf add new init functions 2018-03-18 10:43:16 -05:00
Don
5fb488de9f Use groups in CMake install command for libraries
On Windows shared libraries should be installed into the bin directory. Using grouping within CMake based on the target type fixes this issue.
2018-03-16 13:59:26 -07:00
Brent Cook
bdec057318 Land #332, fix shared library dependencies with cmake for libssl/libtls 2017-08-12 09:46:19 -05:00
kinichiro
9be0359cc3 Remove ssl/t1_reneg.c 2017-08-12 01:15:17 +09:00
Masud Rahman
1dd6a52f2d ssl/tls cmake: fix shared library dependencies
Ensure that the 'ssl' depends on 'crypto' and that 'tls' depends on
'ssl' and 'crypto' for all platforms.  Prior to this commit, the
dependency was only specified for the 'WIN32' CMake build.
2017-07-24 15:26:29 -04:00
Brent Cook
58ba8785fb add tlsext 2017-07-17 05:12:55 -05:00
d3x0r
a4d80ca56a Merge branch 'master' of https://github.com/libressl-portable/portable into SkipInstall
Fix merge conflicts from GNUInstallDirs merge to master.
2017-07-06 23:11:11 -07:00
d3x0r
2557dd7439 Add option LIBRESSL_SKIP_INSTALL
Internally LIBRESSL_SKIP_INSTALL, if not set becomes ENABLE_LIBRESSL_INSTALL so this by default is enabled.  defining LIBRESSL_SKIP_INSTALL before hand will disable all install() rules.
This is useful if another project includes and links to this statically.
I chose to add a prefix to avoid potential name collision because the options are cached globally.

If the installation is skipped, maybe it should also disable building apps?  I didn't do that.
2017-07-06 02:09:44 -07:00
d3x0r
a2bd5ebaba use GNUInstallDirs from cmake to specify install paths.
Primarily this is to select whether 'lib64' or 'lib' is used on linux type systems.
2017-07-06 01:49:43 -07:00
kinichiro
27f0879030 Add ssl/t1_hash.c 2017-03-08 00:17:25 +09:00
Brent Cook
beffe6b41d update for death of s23* 2017-01-27 05:42:33 -06:00
kinichiro
3b8cf47307 Add export symbol support to CMake 2017-01-18 00:34:20 +09:00
Matt Stancliff
63add73d0b Define CMake library object lists globally
OBJECT collections in CMake don't generate any artifacts so these
are safe to hoist out and define globally.

library OBJECT targets are just a list of filenames.  It can be useful for
other projects to include lists of sources directly regardless of build mode
(shared, static, or library).
2017-01-12 13:46:22 +08:00