kc3-lang/libressl

Branch :


Log

Author Commit Date CI Message
6fa2d21b 2016-12-09 13:21:37 m4/check-libc.m4: improve getentropy check - 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
f8a9c71e 2016-12-09 12:39:37 configure: fix getentropy() for sierra and ios 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
b5ebbf6b 2016-11-13 13:10:42 adjust mingw package name
a638d793 2016-11-13 13:06:28 update to trusty distro, remove 3rd-party PPAs for testing
c4165cc2 2016-11-13 12:57:34 fix static test link failures on OS X
3b0488e8 2016-11-13 12:56:45 update manpage links
4e221632 2016-11-06 09:10:25 link regression tests fully statically
04150e63 2016-11-07 00:07:51 fix cmake to link static crypto library for regression tests
f51c1b38 2016-11-06 21: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
7e4ce26c 2016-11-06 04:32:16 use __MINGW_PRINTF_FORMAT for BIO_* print functions if available