aboutsummaryrefslogtreecommitdiff
path: root/m4 (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Add -lbcrypt to Windows builds for CNG in getentropyBrent Cook2020-11-111-1/+1
|
* need ax_check_compile_flag too for older autotoolsBrent Cook2020-08-221-0/+53
|
* Add a compile-time check for FORTIFY_SOURCE supportBrent Cook2020-08-222-1/+81
| | | | | This is broken on some platforms, so pull in the conditional macro from the latest version of autoconf-archive to test for working support.
* initial support for midipixØrjan Malde2019-10-201-0/+5
|
* Enable speed on win32kinichiro2019-07-141-1/+1
| | | | | - Use thread and sleep instead of signal and alarm, on win32 - Disable -multi option on win32 since fork is hard to implement
* include -ldl for SHA512 operationsBrent Cook2019-04-231-1/+1
|
* add __dead__ annotation supportBrent Cook2019-02-091-0/+1
|
* update autoconf for latest compat functionsBrent Cook2019-01-311-0/+4
|
* enable asm for mingw64Brent Cook2019-01-201-0/+1
|
* check for more pthread functions that might not be in libcBrent Cook2019-01-181-0/+1
|
* check if we need to link pthread dynamicallyBrent Cook2019-01-072-3/+2
| | | | | On Linux, bionic and musl for instance do not need libpthread. With bionic, there is not even a stub library for compatibility.
* we don't need to pass this to automakeBrent Cook2019-01-061-1/+0
|
* add configure-time check for timespecsubBrent Cook2019-01-061-1/+2
|
* AC_CHECK_FUNC does not set the define, prefer AC_CHECK_FUNCSBrent Cook2018-03-221-4/+4
|
* add clock_gettime for macos 10.11 and earlierBrent Cook2018-03-221-0/+2
|
* bump base requirement to Windows Vista, use builtin inet_ntop/ptonBrent Cook2018-03-142-4/+2
|
* Add libpthread for libtls buildkinichiro2018-03-131-0/+1
|
* Remove 64bit build designation on Solariskinichiro2018-01-111-1/+0
| | | | | | - Revert commit https://github.com/libressl-portable/portable/pull/327/commits/c18852f650a3cb258e10222695a31ed5c929ab23 - Remove -m64 from CMakeLists.txt by commit https://github.com/libressl-portable/portable/commit/08089a1b20a1818538670d641242266ed3185814 - Suggested by @andy-js in conversation https://github.com/libressl-portable/portable/pull/327
* Fixed getpagesize detection on AndroidEvgen Bodunov2017-11-231-1/+14
|
* add prototype definitions of asprintf and vasprintf for CYGWIN buildkinichiro2017-07-161-0/+1
| | | | | | - define _GNU_SOURCE in case of cygwin As compilation warning report by @Dravion
* Land #328, generate the crypto export symbol list at build timeBrent Cook2017-07-091-85/+0
|\
| * generate the crypto export symbol list at build timeBrent Cook2017-07-081-85/+0
| | | | | | | | | | | | 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'
* | Set Solaris build default to 64 bitkinichiro2017-07-081-0/+1
|/
* Remove misleading CFLAGS / LDFLAGS.Paul Graham2017-06-091-2/+0
| | | | | | | | These variables were being ignored because libtool doesn't pass -static-libgcc to GCC. If you want to link libgcc statically, currently the only way to achieve this is to manually add -static-libgcc to CC variable. See: http://www.mingw.org/wiki/HOWTO_Sneak_GCC_Switches_Past_Libtool
* include amd64 in the mixBrent Cook2017-04-291-0/+1
|
* only include ia32 syms on i?86/x86_64 targetsBrent Cook2017-04-291-0/+8
|
* Add freezero supportkinichiro2017-04-221-2/+6
|
* move crypto_portable.sym to builddirBrent Cook2017-04-101-2/+2
|
* Land #297, Add recallocarrayBrent Cook2017-03-161-2/+8
|\
| * Add support for getpagesizekinichiro2017-03-151-1/+2
| |
| * Add recallocarraykinichiro2017-03-091-1/+6
| |
* | Fix condition of arc4random* and getentropy for Cygwin buildkinichiro2017-02-201-8/+4
|/ | | | | - Fix the condition of exporting getentropy - Modify the CMake condition of including arc4random_uniform as same as autoconf
* Add inet_ntop and memmem for ocspcheckkinichiro2017-01-261-2/+3
|
* Move strsep.c to crypto/compat/ and add ocspcheck build to CMakekinichiro2017-01-251-0/+3
|
* add open(2) shim to handle O_BINARY and O_CLOEXECBrent Cook2017-01-161-0/+1
|
* include pipe2/socketpair compat for macOSBrent Cook2017-01-151-1/+3
|
* Fix to use -export-symbols for libcryptokinichiro2017-01-151-0/+70
| | | | - generating platform specific crypto/crypto_portable.sym from crypto.sym
* Sync getentropy() checks with use-builtin-arc4random checksSimone Basso2016-12-102-30/+40
| | | | | Without this, we actually fail to build a library that includes the bultin getentropy when compiling for 10.11 on 10.12.
* m4/check-libc.m4: improve getentropy checkSimone Basso2016-12-091-17/+23
| | | | | | | | | | | | | | | | | - according to man.openbsd.org getentropy() is in unistd.h - according to macOS sierra's man it's in sys/random.h - since sys/random.h is does not exist for iOS and for linux, do not attempt to include it, rather redeclare the prototype - make sure that `./configure`: - uses getentropy() on macOS sierra - does not use getentropy() if compiling for 10.11 - does not use getentropy() if compiling for ios armv7
* configure: fix getentropy() for sierra and iosSimone Basso2016-12-091-1/+55
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This diff changes the logic by which configure detects getentropy() to ensure that we don't use the system wide getentropy - with macOS sierra if the deployment target is lower than sierra as found by tor developers here https://gitweb.torproject.org/tor.git/commit/?id=https://gitweb.torproject.org/tor.git/commit/?id=16fcbd21c963a9a65bf55024680c8323c8b7175d - with iOS unconditionally because an app linking libressl compiled with system wide getentropy has been rejected by the App store as I have documented here https://github.com/measurement-kit/measurement-kit/pull/994 I think something similar could also affect clock_gettime judging from tor's patch, but this diff for now doesn't address that. I do not have macOS < sierra, so I could only verify that configure was not picking up system wide getentropy by compiling libressl using export CFLAGS="-mmacosx-version-min=10.11" As regards iOS, removing the check for getentropy and recompiling (thus using libressl builtin getentropy()) was enough to have another iteration of the app accepted. Otherwise testing should be possible with: export LDFLAGS=-arch armv7 -miphoneos-version-min=7.1 -isysroot `xcrun --show-sdk-path --sdk iphoneos` export CPPFLAGS=-arch armv7 -isysroot `xcrun --show-sdk-path --sdk iphoneos` export CFLAGS=-arch armv7 -miphoneos-version-min=7.1 -isysroot `xcrun --show-sdk-path --sdk iphoneos` Related ticket: https://github.com/libressl-portable/portable/issues/230
* prefer builtin arc4random on OS X 10.12+ (using getentropy as the signal)Brent Cook2016-11-061-1/+9
|
* Disable netcat if arpa/telnet.h is not available (iOS)jacob berkman2016-08-091-0/+2
|
* Fix typo in USE_BUILTIN_ARC4RANDOM checkcelan692016-07-191-1/+1
| | | Solaris 11 recently introduced a builtin arc4random in libc which fails the tests in "make check". Found USE_BUILTIN_ARC4RANDOM, but could not get it to work. Apparently, there is a typo in the configure logic rendering USE_BUILTIN_ARC4RANDOM ineffective.
* check linker flags before checking for functionsBrent Cook2016-04-241-2/+4
|
* add things to minimize diffs with OpenNTPD-portableBrent Cook2016-02-152-19/+17
|
* whitelist NetBSD 7.0 native arc4random(3) implementation.Brent Cook2016-01-032-3/+17
| | | | | NetBSD 7 improves arc4random(3) over earlier versions by adding fork detection, stronger assertions on seed failure.
* enable nc on AIXBrent Cook2016-01-031-0/+1
|
* update check for b64_ntopBrent Cook2015-12-271-1/+1
| | | | typo spotted by Jonas 'Sortie' Termansen
* installing nc(1) should imply building, even if not whitelistedBrent Cook2015-12-071-1/+5
|
* build nc on solaris and cygwinBrent Cook2015-11-231-0/+2
|