paul4334
a7265dd139
Fix MacOSX cmake missing symbol _clock_gettime
...
On El Capitan:
[exec] [100%] Linking C executable openssl
[exec] Undefined symbols for architecture x86_64:
[exec] "_clock_gettime", referenced from:
[exec] _app_timer_real in apps_posix.c.o
[exec] ld: symbol(s) not found for architecture x86_64
[exec] clang: error: linker command failed with exit code 1 (use -v to see invocation)
[exec] make[2]: *** [apps/openssl/openssl] Error 1
[exec] make[1]: *** [apps/openssl/CMakeFiles/openssl.dir/all] Error 2
[exec] make: *** [all] Error 2
2019-04-30 16:35:04 -07:00
Brent Cook
38c884f205
include -ldl for SHA512 operations
2019-04-23 01:54:33 -05:00
Brent Cook
2f7827344a
add changelog diff from 65.html
2019-04-13 10:54:10 -05:00
Brent Cook
a67ba9f4ad
add pthread_mutex* windows compat for libtls
2019-04-11 07:29:45 -05:00
Brent Cook
41f58606c0
include cmake find module in distribution
2019-04-11 06:58:58 -05:00
Brent Cook
89e4307082
Land #503 , add CMake module
2019-04-11 06:27:01 -05:00
Brent Cook
7dfda75497
update manpage links
2019-04-11 06:26:45 -05:00
Brent Cook
4b6c7bfd02
update links
2019-03-19 05:39:39 -05:00
Brent Cook
6b8dcd5be9
Add #506 , add SM4 build
2019-03-19 05:32:58 -05:00
kinichiro
4ea2a01a0d
Add ssl/ssl_transcript.c and remove ssl/t1_hash.c
2019-03-04 23:27:18 +09:00
Daniel Wyatt
23fa9a51d8
Add portable scaffold for SM4
2019-03-04 08:53:22 -05:00
John Norrbin
3d989bc91e
Readme: Using LibreSSL with a CMake project
2019-02-11 20:54:30 +01:00
John Norrbin
1dd2d050e1
Add LibreSSL CMake Find Module
...
CMake has the find_package function which tries to find the library install paths, and if found, gives the user some "interfaces" to use when including the library in their project. There was no LibreSSL module so i wrote one 👍 .
Placing this file in a new folder called CMake in the same folder as the root CMakeLists.txt file, and adding the following line to the top of it:
set(CMAKE_MODULE_PATH "${CMAKE_CURRENT_SOURCE_DIR}/CMake;${CMAKE_MODULE_PATH}")
Lets the user run the find_package like so:
find_package(LibreSSL REQUIRED)
If LibreSSL is installed and found, the user can then just include the library in their target like so:
target_link_libraries(test LibreSSL::TLS)
They are cascaded, TLS requires and sets SSL, which also requires and sets Crypto using INTERFACE_LINK_LIBRARIES.
Instead of setting the CMAKE_MODULE_PATH like above, the file can be placed in the CMake modules folder.
For linux CMake will look for LibreSSL in the default install location of "sudo make install", which was on Ubuntu /usr/local/
For Windows the user can set the paths to their library files and include folder manually using the CMake-GUI.
2019-02-11 20:30:17 +01:00
Brent Cook
535246269d
add __dead__ annotation support
2019-02-09 09:09:36 -06:00
Brent Cook
5535242ec1
update manpage links
2019-02-09 07:41:00 -06:00
Brent Cook
4d6cfb10ed
update tests
2019-02-09 07:40:14 -06:00
Brent Cook
79a66f1b5d
update patch
2019-02-09 07:28:07 -06:00
Brent Cook
40c848316e
add unimpl fallback for getprogname
2019-02-03 18:50:14 -06:00
Brent Cook
7f59976700
export getuid for libtls
2019-02-01 05:44:31 -06:00
Brent Cook
cc0a0e1299
add syslog to compat headers
2019-02-01 05:14:57 -06:00
Brent Cook
5269dbb279
update cmake
2019-01-31 13:56:56 -06:00
Brent Cook
a6d7ea9562
update autoconf for latest compat functions
2019-01-31 13:56:56 -06:00
Brent Cook
495a1b6316
more masm fixes, but disable for now
2019-01-21 20:15:30 -06:00
Brent Cook
501d61c681
valid_handshakes_terminate uses private API
2019-01-21 16:21:32 -06:00
Brent Cook
aa85c64caf
add tls13_client
2019-01-21 16:06:45 -06:00
Brent Cook
1b2e3576e0
a couple of fixes to get MSVC Win64 going again
2019-01-21 15:26:32 -06:00
Brent Cook
6c6b58f610
use generator to determine if we're building 64-bit code on Windows
2019-01-21 11:19:11 -06:00
Brent Cook
d649daf41d
add new files
2019-01-21 06:14:21 -06:00
Brent Cook
64d9c5d678
fixes to build asm on MSVS
2019-01-21 05:24:11 -06:00
Brent Cook
0ec8c536b9
update .gitignore
2019-01-20 23:39:15 -06:00
Brent Cook
cc08f8eae0
adjust asm exclusions
2019-01-20 23:38:22 -06:00
Brent Cook
73b371073e
remove xcode annotations for windows
2019-01-20 23:37:44 -06:00
Brent Cook
e22fea70af
reduce number of Windows configs needed to test
2019-01-20 22:00:59 -06:00
Brent Cook
ecc142702a
disable 2017 builds for now, appveyor is taking too long
2019-01-20 21:57:40 -06:00
Brent Cook
f553a9fe63
consider masm/mingw assembly flavors from cmake
2019-01-20 21:18:34 -06:00
Brent Cook
3fc51459dd
make keypairtest.sh runnable standalone
2019-01-20 21:18:17 -06:00
Brent Cook
a2c03cbb56
disable bn acceleration
2019-01-20 20:54:47 -06:00
Brent Cook
0492445a69
always stop the asm generators from calling the C compiler
2019-01-20 20:07:54 -06:00
Brent Cook
8730803401
enable asm for mingw64
2019-01-20 20:03:37 -06:00
Brent Cook
8475a5876d
add _LP64 checks
2019-01-20 20:03:37 -06:00
Brent Cook
72bb1ed618
generate masm and mingw64 assembly
2019-01-20 20:03:37 -06:00
Brent Cook
74553e53aa
recordtest needs private symbols
2019-01-20 16:33:47 -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
26c8896c6b
check for cc before gcc
2019-01-20 15:08:05 -06:00
Brent Cook
17ae1da6c9
rebase patches
2019-01-19 22:24:01 -06:00
Brent Cook
7c4d13138a
fix build
2019-01-19 05:09:13 -06:00
Brent Cook
f1dfe95403
add ec to crypto private -I path for ec_lcl.h
2019-01-19 04:33:03 -06:00
Brent Cook
d8c05cedec
account for differences in FAIL macros
2019-01-18 18:44:47 -06:00
Brent Cook
3ab11de0f1
adjust for latest upstream changes
2019-01-18 18:38:59 -06:00