|
3fb9e63b
|
2018-03-14T07:29:04
|
|
bump base requirement to Windows Vista, use builtin inet_ntop/pton
|
|
413956f4
|
2018-02-25T01:42:03
|
|
Add bio_meth.c
|
|
f4d2b810
|
2017-09-01T23:37:09
|
|
Remove rsa/rsa_ssl.c
|
|
9e7fd1fa
|
2017-08-13T16:04:03
|
|
declare struct timezone outside of the function declaration
|
|
94e4224f
|
2017-08-12T10:05:30
|
|
don't build empty object files
|
|
70ee57c6
|
2017-07-09T05:12:21
|
|
Land #328, generate the crypto export symbol list at build time
|
|
9b88fa46
|
2017-07-08T17:46:16
|
|
generate the crypto export symbol list at build time
we currently do it at configure time, which makes this a generated
source, but generated sources should be cleaned up, which breaks
'make clean; make'
|
|
a4d80ca5
|
2017-07-06T23:11:11
|
|
Merge branch 'master' of https://github.com/libressl-portable/portable into SkipInstall
Fix merge conflicts from GNUInstallDirs merge to master.
|
|
2557dd74
|
2017-07-06T02:09:44
|
|
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.
|
|
a2bd5eba
|
2017-07-06T01:49:43
|
|
use GNUInstallDirs from cmake to specify install paths.
Primarily this is to select whether 'lib64' or 'lib' is used on linux type systems.
|
|
8b80bcda
|
2017-06-11T11:21:34
|
|
re-add getpagesize fallback, needed for Android
|
|
63042e98
|
2017-05-02T00:21:57
|
|
Add HKDF functionality
|
|
993f5cf6
|
2017-04-28T00:26:40
|
|
add back copyright notice from OpenBSD malloc.c from which this came.
|
|
048625cf
|
2017-04-22T23:08:17
|
|
Add freezero support
|
|
922cd9c9
|
2017-04-10T09:30:29
|
|
move crypto_portable.sym to builddir
|
|
764ab1e6
|
2017-03-16T19:25:42
|
|
remove sysconf fallback for now
|
|
d5b247cc
|
2017-03-16T19:23:36
|
|
Land #297, Add recallocarray
|
|
8622dc75
|
2017-03-16T18:53:12
|
|
Land #288, update conditions under which getentropy, arc4random* are exported
|
|
c61c9821
|
2017-03-15T21:02:22
|
|
Add support for getpagesize
|
|
8877e9bc
|
2017-03-09T22:49:04
|
|
Add recallocarray
|
|
f2c14deb
|
2017-03-01T00:49:38
|
|
Add crypto/evp/m_md5_sha1.c
|
|
5297e9d4
|
2017-02-20T10:28:49
|
|
Fix condition of arc4random* and getentropy for Cygwin build
- Fix the condition of exporting getentropy
- Modify the CMake condition of including arc4random_uniform as same as autoconf
|
|
c957ff63
|
2017-02-01T01:13:09
|
|
Fix SYSerr and BIOerr in b_win.c
|
|
58eb645f
|
2017-01-28T03:40:38
|
|
Copy libc compat files rather than adding into the repository
- remove the CP_LIBC files from repo
- move tests/memmem.c to tests/compat/
|
|
91a8bd79
|
2017-01-25T19:37:29
|
|
Move strsep.c to crypto/compat/ and add ocspcheck build to CMake
|
|
fa149b8c
|
2017-01-22T19:55:54
|
|
updates for new tests and layout
|
|
91f771f9
|
2017-01-18T22:45:31
|
|
add missing ecp_nist*.c files
|
|
301d50ea
|
2017-01-18T22:58:04
|
|
check if EXTRA_EXPORT is set, fix cmake builds on OpenBSD
|
|
484feaae
|
2017-01-18T20:37:44
|
|
Stop generating .def files by update.sh
|
|
3276be12
|
2017-01-18T20:26:49
|
|
Add export symbol support to CMake for libcrypto
|
|
3b2560fe
|
2017-01-16T10:36:05
|
|
MSVSC fixes
|
|
f21bd20c
|
2017-01-16T09:56:20
|
|
add open(2) shim to handle O_BINARY and O_CLOEXEC
|
|
c53c23c5
|
2017-01-15T10:17:32
|
|
enable tlstest on win32
|
|
69e2a7fb
|
2017-01-15T10:02:37
|
|
handle EBADF, which is returned when a file is passed
|
|
1d934cd2
|
2017-01-15T18:09:13
|
|
Fix to use -export-symbols for libcrypto
- generating platform specific crypto/crypto_portable.sym from crypto.sym
|
|
63add73d
|
2017-01-12T13:41:40
|
|
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).
|
|
7054105f
|
2016-12-26T21:53:29
|
|
implement support for hiding symbols in libcrypto
- delete crypto.def and generate it from Symbols.list
- remove BIO_s_log since bss_log.c is not included on Windows
- add Windows specific symbols by crypto/crypto_win.list
|
|
f51c1b38
|
2016-11-06T21:56:25
|
|
Fix for tests on Visual Studio
- always link static ssl library for tests
- copy DLLs for openssl.exe after building tests
- add functions to crypto.def
|
|
d38ab0a3
|
2016-11-06T02:37:15
|
|
include vpm_int.h
|
|
5f187770
|
2016-11-06T04:57:23
|
|
Add curve25519 to portable
|
|
58422156
|
2016-11-05T10:43:06
|
|
remove duplicate libcrypto static link
|
|
9d14220b
|
2016-11-05T10:42:02
|
|
export ASN1_time_parse
|
|
70805a3e
|
2016-11-05T09:53:03
|
|
remove more KRB5
|
|
c2ec622b
|
2016-11-05T09:44:01
|
|
remove defined symbols
|
|
34836241
|
2016-11-05T06:24:55
|
|
remove krb5 from cmake
|
|
19457d72
|
2016-11-05T06:16:19
|
|
enable preprocessor on all ASM files with cmake
|
|
659aff9f
|
2016-11-05T05:21:29
|
|
updates for latest build changes
|
|
62f2a730
|
2016-09-06T23:25:28
|
|
export DLLs functions for MSVC with CMake
- 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
|
|
829b2158
|
2016-08-25T18:17:27
|
|
build Windows DLL on CMake
like below.
* libcrypto-38.dll
* libssl-39.dll
* libtls-11.dll
|
|
97189276
|
2016-08-25T18:17:12
|
|
build MinGW on CMake
|
|
2d987d32
|
2016-08-07T11:56:14
|
|
compat gentroy() for macs is called gentropy_osx.c
|
|
a7f754a6
|
2016-07-31T17:11:19
|
|
set link library dependencies with MSVC, fixes #221
|
|
40974784
|
2016-05-02T22:46:25
|
|
add constant_time_locl.h
|
|
bda62f7f
|
2016-04-11T12:59:23
|
|
add cmake build options
- 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"
|
|
752ad82d
|
2016-04-09T12:08:26
|
|
Land #188, add ASM support for cmake builds
|
|
2510a5e6
|
2016-04-07T15:08:12
|
|
modify cmake to build nc
- modify structure of CMakeLists.txt under apps/
* move apps/CMakeLists.txt to apps/openssl/ since this is for openssl build
* create new apps/nc/CMakeLists.txt for nc build
* modify apps/CMakeLists.txt just add_subdirectory()
- add checking and compile of arc4random_uniform()
- add installing man files, openssl.1 and nc.1
|
|
e1f8a1e1
|
2016-04-08T15:09:07
|
|
modify cmake to build ASM
- add functionality compiling ASM with cmake
- to enable ASM, `cmake -DENABLE_ASM=on ..`
|
|
3207606f
|
2016-04-04T11:28:46
|
|
fix cmake on HP-UX
- 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
|
|
3af1387b
|
2015-12-11T09:22:12
|
|
Revert back to GetStdHandle, since it works fine with pipes.
Also include the formerly-missing NULL check, since this can fail in two
ways.
|
|
bd8fe586
|
2015-12-11T09:21:43
|
|
include stdint.h uint*_t
|
|
5727d327
|
2015-12-11T16:29:50
|
|
Replace STDIN_FILENO with _fileno
Replace STDIN_FILENO with _fileno as STDIN_FILENO results in compile
errors with Visual Studio 2015 (using CMake).
|
|
905e2a3b
|
2015-12-06T23:32:18
|
|
refresh nc(1) support
|
|
afcc027d
|
2015-12-05T22:14:42
|
|
only set the console mode if stdin is a console (not a pipe)
This allows piping commands and running from a cygwin console.
|
|
75ef5bb1
|
2015-12-05T13:58:37
|
|
wrap gets on Windows, replacing '\r\n' with '\n'
|
|
9574b6c8
|
2015-11-22T17:23:21
|
|
do not link libcompatnoopt if it is unneeded/built
from andy-js on github, fix #158
|
|
9be90557
|
2015-10-21T22:19:09
|
|
remove a_gen/utctm.c for cmake
|
|
3f79a49d
|
2015-10-21T22:17:13
|
|
check bounds before casting (long long) to time_t
|
|
959241fe
|
2015-10-21T21:39:59
|
|
remove a_gen/utctm.c
|
|
0197a589
|
2015-10-18T09:28:10
|
|
Windows compatibility fixes
VS2013 has trouble with relative include paths for apps/openssl, so move
certhash_win/apps_win.c back to apps/openssl.
gmtime_r on mingw64 fails with negative time_t, override
gmtime_s fails all of the time unit tests, override
SHUT_RD/WR are defined in newer mingw64 headers, check before overriding
|
|
a45e38e9
|
2015-10-17T22:57:59
|
|
disable some tests with 32-bit time_t systems
Also disable use of _mkgmtime, it does not produce correct results.
|
|
dadeeb0a
|
2015-10-15T14:32:16
|
|
check for timegm in cmake builds
|
|
cac089b5
|
2015-10-15T14:32:02
|
|
make internal functions static
|
|
c0243664
|
2015-10-15T14:26:24
|
|
use timegm from musl
|
|
4298ac93
|
2015-10-14T23:53:52
|
|
include timegm fallback
|
|
448645d4
|
2015-10-11T16:46:55
|
|
Use bundled headers instead of installed headers when building
The build system incorrectly set include directives in AM_CFLAGS which
causes them to be placed after the configured CPPFLAGS. Thus, if
a user or packaging system sets CPPFLAGS to a location that has
libressl or openssl headers installed, they will be used instead
of the bundled versions. This corrects that issue by setting up
the variables correctly.
https://github.com/libressl-portable/portable/issues/150
Signed-off-by: Jeremy Huddleston Sequoia <jeremyhu@apple.com>
|
|
047926e0
|
2015-10-06T06:18:15
|
|
updates for ASN.1 time handling
|
|
4ce5342e
|
2015-09-17T05:39:20
|
|
remove SHA-0 from cmake builds
|
|
f05cb999
|
2015-09-17T05:25:22
|
|
final bit of SHA-0 removal
|
|
9c55d0b8
|
2015-09-17T05:15:23
|
|
remove SHA-0
|
|
2cb6d19e
|
2015-09-13T19:08:12
|
|
remove ecdh/ech_ossl.c
|
|
eeb286af
|
2015-09-13T09:30:26
|
|
fix spelling of OPENSSL_cleanse
|
|
4bb70680
|
2015-09-13T09:03:04
|
|
ech_ossl.h is gone
|
|
adfb2bf7
|
2015-09-09T05:15:06
|
|
Do not build lib-objects targets if we are just building static libs.
This confuses some cmake targets.
|
|
9903a266
|
2015-09-07T01:28:29
|
|
distribute strcasecmp.c
|
|
ca56c332
|
2015-09-07T01:05:33
|
|
disable shared CMake builds for OS X / Windows for now
|
|
5461dea7
|
2015-08-18T13:20:19
|
|
Add install targets and shared libraries to CMake
|
|
13d910c1
|
2015-08-03T07:37:24
|
|
disable explicit_bzero optimizations with CMake builds
|
|
c66d80a4
|
2015-08-03T06:56:59
|
|
add win32-specific explicit_bzero implementation
|
|
6527c320
|
2015-08-01T05:33:19
|
|
initial Linux cmake suppport
tested on Ubuntu 14.04
|
|
1828bcb9
|
2015-07-21T20:00:42
|
|
don't build eng_rsax.c anymore
|
|
9d5eb631
|
2015-07-21T12:52:29
|
|
move sleep shim to posix_win.c
|
|
63161e85
|
2015-07-21T12:52:14
|
|
add initial build for arc4random/getentropy fallbacks
|
|
5d8a1cf7
|
2014-07-10T22:06:10
|
|
add initial CMake and Visual Studio build support
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.
|
|
792a5acb
|
2015-07-20T01:08:01
|
|
eng_rsax is gone
|
|
ddeb7404
|
2015-07-16T10:23:57
|
|
win32 openssl CLI: preserve original echo state
Mirror the patch to ui_openssl.c, also fix the broken conditional that
made it not actually turn off echo in the first place.
ok guenther@
|
|
db974c34
|
2015-07-15T20:00:21
|
|
fixup how OPENSSLDIR is derived and expanded
As per
http://www.gnu.org/software/autoconf/manual/autoconf-2.69/html_node/Installation-Directory-Variables.html
we should not try to expand variables like sysconfdir in the
configure script, but rather derive the correct value in the Makefiles
instead. This fixes missing expansions as the preprocessor define.
|
|
4cffda19
|
2015-07-15T19:17:27
|
|
build libcrypto with -DLIBRESSL_INTERNAL
Since libcrypto defines its own CPPFLAGS, we need to set this for
libcrypto specifically.
|
|
54545427
|
2015-06-29T22:51:40
|
|
add check for inet_pton, nudge minimum win32 compat to 0x0501
|
|
b9f1b83a
|
2015-06-20T10:40:04
|
|
update for mdc2 removal
|
|
bc7b9347
|
2015-06-13T21:43:55
|
|
add a missing header and fix typo in windows posix layer
|