kc3-lang/libressl

Branch :


Log

Author Commit Date CI Message
c4ee1a6f 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
bd534338 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
74425684 2016-08-09 15:04:45 Disable netcat if arpa/telnet.h is not available (iOS)
ebeda8ba 2016-11-06 09:22:39 update changelog for 2.3.9
b67802c2 2016-09-23 05:43:04 update changelog for 2.3.8
25d8a429 2016-07-31 17:59:59 update for 2.3.7
950dcb2d 2016-07-31 17:10:39 properly enable strnlen checks for MSVC
926aa532 2016-07-31 17:11:19 set link library dependencies with MSVC, fixes #221
f6582d1d 2016-07-17 18:12:23 avoid BSWAP assembly for ARM <= v6
3a193a58 2016-07-17 17:37:16 format 64-bit int portably (windows wants %l64d)