aboutsummaryrefslogtreecommitdiff
path: root/tls (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Statically link libcrypto/ssl into libtls with cmakekinichiro2021-05-071-3/+13
|
* Use object library for CMakekinichiro2021-05-021-1/+9
|
* Link crypto and ssl object files directly instead of static librarykinichiro2020-10-041-3/+8
| | | | | | - Output object files list variable for libcrypto and libssl to .mk file. - Include object files list variable .mk from tls/Makefile - Link .lo files directly instead of static library for libtls.
* Configure libtls and nc(1) to statically link to libcrypto/sslBrent Cook2020-10-041-3/+3
| | | | | | | | | | | | | | | An issue that Reyk Floeter noted while building a Debian package for LibreSSL is that installing libtls along with OpenSSL causes linker issues since it will often pick up the wrong libcrypto/libssl. This change makes libtls statically link the object files it needs rather than relying on the shared libraries, effectively making libtls self-contained and able to be packaged independently. This should make it possible for other projects that also use libtls to be able to package support without requiring the target OS to ship libcrypto / libssl from LibreSSL. https://salsa.debian.org/reyk-guest/libressl/-/commit/678278df55ce866f2f363998ca690442fa786c66
* TLS target properties when building static libsDan Nestor2020-03-021-11/+9
|
* Override the default path of cert.pem in libtlskinichiro2019-11-162-4/+4
|
* update cmakeBrent Cook2019-01-311-1/+0
|
* update autoconf for latest compat functionsBrent Cook2019-01-312-19/+0
|
* Fix cmake to generate proper Libs.private in .pc fileskinichiro2018-10-051-1/+1
|
* Fix cmake linking librarieskinichiro2018-10-031-2/+1
|
* make headers under include/compat private againBrent Cook2018-06-141-2/+2
|
* scope private/public headers when embedding into other projectsBrent Cook2018-05-291-6/+7
| | | | thanks to Cameron Palmer
* Use BUILD_SHARED_LIBS to specify library typeDon2018-03-211-14/+8
|
* Land #402, Remove CMAKE_HOST_ referencesBrent Cook2018-03-181-9/+9
|\
| * Remove CMAKE_HOST_ referencesDon2018-03-161-9/+9
| | | | | | | | CMAKE_HOST_ describes the host system not the target. For cross compilation to work the actual target system should be used for making decisions in CMake.
* | Land #400, Use groups in CMake install command for librariesBrent Cook2018-03-181-6/+10
|\ \
| * | Use groups in CMake install command for librariesDon2018-03-161-6/+10
| |/ | | | | | | On Windows shared libraries should be installed into the bin directory. Using grouping within CMake based on the target type fixes this issue.
* / Fix using right functions for file descriptor with MS Visual Studiokinichiro2018-03-184-0/+20
|/
* Add compat bits for libtls on Windowskinichiro2018-02-256-0/+90
|
* Add tls/tls_keypair.ckinichiro2018-02-112-0/+2
|
* ssl/tls cmake: fix shared library dependenciesMasud Rahman2017-07-241-1/+2
| | | | | | 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.
* Merge branch 'master' of https://github.com/libressl-portable/portable into ↵d3x0r2017-07-061-2/+2
|\ | | | | | | | | | | SkipInstall Fix merge conflicts from GNUInstallDirs merge to master.
| * use GNUInstallDirs from cmake to specify install paths.d3x0r2017-07-061-2/+2
| | | | | | | | Primarily this is to select whether 'lib64' or 'lib' is used on linux type systems.
* | Add option LIBRESSL_SKIP_INSTALLd3x0r2017-07-061-2/+6
|/ | | | | | | | 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.
* Move strsep.c to crypto/compat/ and add ocspcheck build to CMakekinichiro2017-01-252-8/+0
|
* Stop generating .def files by update.shkinichiro2017-01-181-1/+0
|
* Add export symbol support to CMakekinichiro2017-01-181-2/+1
|
* Define CMake library object lists globallyMatt Stancliff2017-01-121-1/+1
| | | | | | | | | 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).
* remove check-in .def and ignore .sym filesBrent Cook2016-11-061-72/+0
|
* implement support for hiding symbols in libtls / libsslBrent Cook2016-11-062-25/+12
|
* Add tls_ocsp.c to Makefile.am and CMakeLists.txtkinichiro2016-11-042-0/+2
|
* export DLLs functions for MSVC with CMakekinichiro2016-10-303-1/+91
| | | | | | | | | | | | - Add 3 DEF files to export functions from Windows DLLs - Add gettimeofday to crypto/crypto.def (*1) - Remove gai_strerrorA from tls/tls.def (*1) - Fix CMakeLists.txt to use DEF files as PRIVATE - Change DLL import library file name since it duplicates with static library - Ignore compiler warning C4267, and Edit CMAKE_C_FLAGS not to overwrite it (*1) - Add USE_SHARED option to build openssl.exe with shared libraries (*1) (*1) recommended by @mcnameej
* Land #203, add libtls callback APIBrent Cook2016-09-042-0/+2
|\
| * Portable code part for callbacks in accept/connectTobias Pape2016-06-282-0/+2
| | | | | | | | see https://github.com/libressl-portable/openbsd/pull/64
* | build Windows DLL on CMakeSatoshi Yasushima2016-08-251-1/+3
| | | | | | | | | | | | | | like below. * libcrypto-38.dll * libssl-39.dll * libtls-11.dll
* | build MinGW on CMakeSatoshi Yasushima2016-08-251-1/+1
| |
* | set link library dependencies with MSVC, fixes #221Brent Cook2016-07-311-0/+3
|/
* Land #192, fix fix ld warning "attempted multiple inclusion of file" on SolarisBrent Cook2016-05-021-1/+3
|\
| * fix ld warning "attempted multiple inclusion of file" on Solariskinichiro2016-04-211-1/+3
| | | | | | | | - To avoid ld warning on Solaris, use abs_top_builddir in Makefile.am
* | add cmake build optionskinichiro2016-04-141-0/+6
|/ | | | | | | | | | | | | - add cmake build options as configure provides * -DENABLE_ASM (default ON) * -DENABLE_EXTRATESTS (default OFF) * -DENABLE_NC (default OFF) * -DOPENSSLDIR (default ${CMAKE_INSTALL_PREFIX}/etc/ssl) - add biotest and pidwraptest if ENABLE_EXTRATESTS is ON - add compiler flag `-fno-common` if CMAKE_SYSTEM_NAME is Darwin to prevent link error Undefined symbols "_OPENSSL_ia32cap_P"
* fix cmake on HP-UXkinichiro2016-04-041-1/+1
| | | | | | | | | | | | | | | | | - CMakeLists.txt * add OS specific compiler flags and library * add checking size of time_t * add checking memmem() - tests/CMakeLists.txt * add if(HAVE_MEMMEM) for explicit_bzero * add checking SMALL_TIME_T for rfc5280time - crypto/CMakeLists.txt * add getentropy_hpux.c - tls/CMakeLists.txt * fix checking strsep
* fixup cert.pem path override for libtls, add for nc(1)Brent Cook2015-12-071-2/+2
| | | | this also fixes the formatting of help for nc(1)
* override _PATH_SSL_CA_FILE with OPENSSLDIR at build timeBrent Cook2015-12-061-0/+7
| | | | fix #160
* include new tls headersBrent Cook2015-09-132-0/+3
|
* add 'nc' to the distribution as an example of libtls client and serverBrent Cook2015-09-121-0/+1
|
* Do not build lib-objects targets if we are just building static libs.Brent Cook2015-09-091-8/+8
| | | | This confuses some cmake targets.
* disable shared CMake builds for OS X / Windows for nowBrent Cook2015-09-071-4/+9
|
* Add install targets and shared libraries to CMakeJeff Davey2015-08-181-1/+8
|
* add initial CMake and Visual Studio build supportBrent Cook2015-07-212-0/+23
| | | | | | | | This moves the compatibility include files from include to include/compat so we can use the awful MS C compiler <../include/> trick to emulate the GNU #include_next extension. This also removes a few old compat files we do not need anymore.
* revert changes to libtls-standalone Makefile.am that ended up in tlsBrent Cook2015-05-231-3/+5
|