Brent Cook
7dc68c82bc
set SMALL_TIME_T when sizeof time_t == 4
2017-08-14 12:15:00 -05:00
Brent Cook
9b88fa46bb
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'
2017-07-08 17:46:16 -05:00
Paul Graham
3b4d3d7541
Remove "exit 1" (added by mistake)
2017-02-18 22:17:59 +01:00
Paul Graham
b2b47a7d11
Document 32-bit time_t problem on minw-w64 toolchain and how to avoid it
2017-02-15 23:04:04 +01:00
Brent Cook
93754dc5cf
initial ocspcheck integration
2017-01-24 06:06:07 -06:00
kinichiro
1d934cd2d8
Fix to use -export-symbols for libcrypto
...
- generating platform specific crypto/crypto_portable.sym from crypto.sym
2017-01-15 22:12:39 +09:00
Brent Cook
4db1ad6797
installing nc(1) should imply building, even if not whitelisted
2015-12-07 08:24:41 -06:00
Brent Cook
28aaab4323
allow optionally installing nc(1) with '--enable-nc'
2015-12-07 08:14:51 -06:00
Brent Cook
c8c23ad8e3
make it clear that we skipped 64-bit time_t tests
2015-10-18 10:36:31 -05:00
Brent Cook
c8918dd0be
include warnings about small time_t
2015-10-17 23:32:21 -05:00
Brent Cook
a45e38e962
disable some tests with 32-bit time_t systems
...
Also disable use of _mkgmtime, it does not produce correct results.
2015-10-17 22:57:59 -05:00
Brent Cook
442cc6f1b4
add tame(2) check
2015-10-07 08:55:05 -05:00
Brent Cook
a7f031ba55
add b64_ntop checking and fallback for nc(1)
2015-10-01 07:40:26 -05:00
Brent Cook
3ac78a5573
normalize amd64 to x86_64
...
This allows asm to be enabled on platforms that use amd64 in the host
tuple.
2015-09-16 01:45:42 -05:00
Brent Cook
8c90be2a29
allow nc to build on linux and os x
2015-09-13 18:42:15 -05:00
Brent Cook
854f4f69af
add 'nc' to the distribution as an example of libtls client and server
2015-09-12 08:08:24 -05:00
Brent Cook
a1a0f2c6e2
implement compatibility shim for __warn_references
...
This will allow us to warn about deprecated function references at link-time.
2015-07-17 16:54:23 -05:00
Brent Cook
db974c34e9
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.
2015-07-15 20:02:38 -05:00
Brent Cook
bda20bd13f
Improve automatic handling of OPENSSLDIR
...
Install a default cert.pem, openssl.cnf, x509v3.cnf in OPENSSLDIR, which
is derived by default from sysconfdir and the prefix setting.
2015-07-12 22:10:48 -05:00
Brent Cook
83d07710b5
remove unused --with-enginesdir configuration parameter
2015-07-08 09:02:12 -05:00
Brent Cook
407c7cd1f5
set 'foreign' flag in automake
...
Avoid warnings about following GNU standards, since this is not a GNU
project. Thanks to Doug Hogan for pointing this out.
2015-06-13 22:31:26 -05:00
Brent Cook
d3771a41cb
refactor configure into separate m4 macros
...
this allows for some reusability with libtls
2015-05-23 19:27:57 -05:00
Dave Huseby
7de7605b95
adding support for bitrig
2015-05-14 15:32:27 -07:00
Brent Cook
91f01629b9
use the same gcc test for AIX as HP-UX
2015-04-27 08:26:22 -05:00
kinichiro
97c910ecfd
modify for HP-UX build, choose correct CFLAGS for gcc.
2015-04-27 21:20:20 +09:00
Brent Cook
7dbc4ed363
remove unneeded check for sys/sysctl.h
2015-04-19 15:14:52 -05:00
Brent Cook
dcb97d12a4
use alternate cflags on AIX and HP-UX vendor compilers
2015-04-19 14:55:25 -05:00
Brent Cook
2753f5ca87
Revert configure-time checks for -Wall/-std=gnu99
...
There is a problem with these on some compilers, revert while a solution
is found.
2015-04-14 22:12:52 -05:00
Brent Cook
5cf05de18c
make compiler checks for -Wall and -std=gnu99
...
Yes, there are compilers that do not understand or need these.
2015-04-14 08:45:47 -05:00
Brent Cook
3096ab0e45
remove issetuigid wrappers, now that all getenv calls are gone.
...
From deraadt@ upstream:
Remove all getenv() calls, especially those wrapped by issetugid().
getenv()'s wrapped by issetugid() are safe, but issetugid() is ...
difficult to impliment on many operating systems. By accident, a grand
experiment was run over the last year, where issetugid() returned 1 (the
safe value) on a few operating systems. Noone noticed & complained that
certain environment variables were not working.......
2015-04-14 07:55:23 -05:00
Brent Cook
fe3f7fc636
Add experimental AIX support.
...
This includes a WIP failsafe issetugid for now, while research continues
on the proper way to do this in a race-free fashion in AIX.
2015-03-31 09:25:21 -05:00
Brent Cook
34bf96ce4b
move define to CPPFLAGS
2015-03-22 08:14:27 -05:00
Brent Cook
569177eabd
Merged support for using _OPENBSD_SOURCE on NetBSD 8.x
2015-03-22 08:11:53 -05:00
Brent Cook
ad2a38ab4a
rework CFLAGS/CPPFLAGS settings during configuration
...
Move define adjustments to CPPFLAGS.
Adjust user CFLAGS directly, do not override during configuration.
USER_CFLAGS is not necessary to build libcompat_noopt correctly.
2015-03-22 07:43:55 -05:00
Brent Cook
809fcf4ea7
move clang flags adjustment next to the check, fix typo
2015-03-22 06:06:40 -05:00
Brent Cook
4106a08da9
check for build tools earlier in configuration
2015-03-22 06:06:40 -05:00
Brent Cook
dcf31221ef
Merge native cygwin support
2015-03-21 19:08:04 -05:00
Brent Cook
45065de1ba
rework tests Makefile.am
...
There are so many test exceptions that need handling that it is easier
to simply edit it directly rather than doing autogeneration anymore.
This also puts biotest and pidwraptest behind a new --enable-extratests
option, so they are easy to run but are not enabled by default.
2015-03-21 19:04:54 -05:00
Brent Cook
dd646a3302
enable libtls by default
...
The API/ABI for the LibreSSL 2.1.x series is now fixed, so we can safely
enable libtls it by default. This is useful for new OpenNTPD and
OpenSMTPD releases as well.
ok deraadt@ beck@ sthen@
2015-03-19 00:39:50 -05:00
Brent Cook
73329d4311
update __STRICT_ALIGNMENT check
2015-03-08 22:02:54 -05:00
Brent Cook
031f0aaa8f
specify -static-libgcc for mingw builds
...
Avoid external external dependencies on 32-bit windows builds.
2015-03-08 22:02:19 -05:00
Kamil Rytarowski
bbf021e11c
Reuse _OPENBSD_SOURCE namespace on NetBSD (>=8.x)
2015-03-08 01:35:20 +00:00
Brent Cook
213eb9465e
avoid doubling user-specified cflags
2015-03-07 12:02:57 -06:00
Corinna Vinschen
9cad5993a2
Drop test for adding -lssp again, not required with latest libtool
...
Signed-off-by: Corinna Vinschen <github@cygwin.de>
2015-03-03 18:39:31 +01:00
Corinna Vinschen
98902539a4
Add preliminary Cygwin support
...
Signed-off-by: Corinna Vinschen <github@cygwin.de>
2015-03-03 16:37:23 +01:00
Brent Cook
933820a0f5
separate the BSWAP check from the action
...
checks need to be unconditional with autoconf
2015-03-01 16:30:23 -06:00
Brent Cook
8695b50688
check if the BSWAP assembly for ARM works before building
2015-03-01 15:57:21 -06:00
Brent Cook
ab0d3e54a2
add windows-specific hardening options
...
This enables DEP and ALSR capabilities. Stack protection is enabled
optionally, there are some extra linking steps required that make it
difficult to enable by default.
2015-02-24 19:39:16 -06:00
Brent Cook
347c03d3a0
remove openat requirement for building certhash
2015-02-23 09:48:04 -06:00
Brent Cook
49d80f0e89
add missing line continuation
2015-02-19 21:16:55 -06:00