1008 Commits

Author SHA1 Message Date
kinichiro
30e91bc6d2 Enable speed on win32
- Use thread and sleep instead of signal and alarm, on win32
- Disable -multi option on win32 since fork is hard to implement
2019-07-14 19:45:34 +09:00
Brent Cook
9e5a54ac92 Land #540, fix pkg-config 2019-07-11 21:15:39 -05:00
kinichiro
389145ed42 Fix illegal pkg-config file generated 2019-07-09 20:56:17 +09:00
Brent Cook
e7446637dd update links 2019-06-19 16:34:27 -05:00
Brent Cook
b182399748 Land #535, add regress bn_to_string 2019-06-12 21:56:42 -05:00
kinichiro
5d686726ec Add regress bn_to_string 2019-06-13 10:15:28 +09:00
Brent Cook
b3e2e71310 default to a directory that is not world-creatable 2019-06-12 09:08:17 -05:00
Brent Cook
5ed7cf2553 sigh, add back the quotes for C 2019-06-10 07:07:44 -05:00
Brent Cook
6e2192618a use something else by default for Windows builds (match dist-win.sh) 2019-06-10 07:04:01 -05:00
Brent Cook
83012fe34a let cmake handle quoting itself 2019-06-10 06:49:34 -05:00
Brent Cook
0e8b7c1ef9 remove comments and unify fixups 2019-06-10 06:49:34 -05:00
kinichiro
bbb662b69c Fix masm build
- Fix masm operators and comments
- Add -DOPENSSL_NO_ASM only if not 64 bit build
- Add -DCMAKE_INSTALL_PREFIX to avoid build error
2019-06-10 06:49:34 -05:00
Stephan Vedder
c6f8ca2bc6 Enable masm compilation under windows 2019-06-10 06:49:34 -05:00
Brent Cook
4dabadaf4d run masm files through the C preprocessor 2019-06-10 06:49:34 -05:00
Brent Cook
3e6d12d318 new links 2019-06-09 21:37:39 -05:00
Brent Cook
c98346be79 update man links 2019-05-24 15:53:11 -05:00
Brent Cook
c199315ee9 condense android comments for clarity 2019-05-23 06:58:38 -05:00
Ishimoto Shinobu
65159f37d0
Remove info about glibc 2019-05-22 10:47:47 +03:00
Ishimoto Shinobu
a747aacc23
avoid glibc
cause problems on musl systems
2019-05-21 22:41:05 +09:00
Brent Cook
2375e38c97 update changelog for 2.9.2 2019-05-20 21:01:42 -05:00
Brent Cook
4f88694cc9 do a system upgrade on msys64 packages 2019-05-20 21:00:48 -05:00
Brent Cook
a2befe3383 unconditionally define reallocarray
deal with systems missing it but with it exported as a symbol
2019-05-10 11:09:18 -05:00
Brent Cook
6e2215c465 rebase patches 2019-05-07 02:11:02 -05:00
Brent Cook
04aa7f7128 Land #523, fix MacOS _clock_gettime with CMake 2019-05-07 01:35:35 -05:00
Simone Basso
44082746db Fix getprogname_linux.c for Android API < 21
This diff fixes the build of LibreSSL for Android with API < 21 where
the `getprogname` system call was not part of libc.

A comment in the diff itself explains in detail the issue.
2019-05-04 09:15:23 +02:00
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