Commit Graph

15 Commits

Author SHA1 Message Date
Dzmitry Neviadomski 129ad3e6d6
[macOS] Fix deprecation warning for third-party/libevent (#3359)
arc4random_addrandom(2) was deprecated as of macOS 10.12
2022-06-29 09:55:11 -05:00
Mike Gelfand 5edbcb3740
Add CommonCrypto-based crypto utils implementation (#2032)
* Add CommonCrypto-based crypto utils implementation

Ported and adapted from an old (circa 2014-2015) branch of mine.

DH helpers are based on CCBigNum since CCDH doesn't provide acceptable error
reporting, and SecDH interface is a bit weird and limiting. Given that all
mentioned APIs are private, it doesn't seem to matter which one we're using as
any of them could be changed/removed by Apple at any point.

* Switch Xcode project to CommonCrypto backend
2021-10-24 21:19:57 +03:00
Dzmitry Neviadomski 59cf023e57
Update libevent to 2.1.12-stable. (#1588)
* Update libevent to 2.1.12-stable.

Fixes `kq_init: detected broken kqueue; not using.: Undefined error: 0`
message on start on macOS.

* Do not build libevent samples.

* Explicitly set library type to static on MSVC for libevent.

Co-authored-by: Mitch Livingston <livings124@mac.com>
Co-authored-by: Charles Kerr <charles@charleskerr.com>
2021-05-20 11:36:12 -05:00
Mitchell Livingston ab08085280 update the mac libevent config files 2011-05-03 21:50:04 +00:00
Mitchell Livingston 97e5dc7111 fix replace-all of #undef -> #under 2010-12-20 02:19:33 +00:00
Mitchell Livingston 705b8ec884 update the Mac project and libevent files 2010-12-20 02:16:56 +00:00
Mitchell Livingston 6c713d2800 update macosx-libevent-config.h and macosx-libevent-event-config.h 2010-01-17 02:24:33 +00:00
Charles Kerr b59775cdad (trunk third-party) #2416 "libevent + libcurl + OS X == crash" -- undo r9910 so that Nick's experimental fix can be tested in the nightlies. This is a continuation of r9946 2010-01-17 01:31:28 +00:00
Charles Kerr 2ac553361a (trunk libT) #2416 "crash in event_queue_insert" -- I think this is happening if we queue up two changes, one to listen for read/write, and then a second one to delete the polling, in kqueue's event mechanism, at libcurl's request. Let's try disabling kqueue in libevent and use poll/select instead. 2010-01-10 19:52:01 +00:00
Mitchell Livingston b9c694501f update libevent config files 2009-09-24 01:50:42 +00:00
Charles Kerr 585a9783ad add support for compressing the content served by the rpc server -- rpc responses and clutch html/css/js files 2008-10-01 15:53:56 +00:00
Mitchell Livingston 31bf447edb get mac build building again 2008-02-25 19:20:51 +00:00
Charles Kerr 8edb5e6fa0 patch from SoftwareElves to get libevent building again on osx 2008-02-25 04:00:02 +00:00
Mitchell Livingston f5d33a3da1 update libevent mac headers for strtoll() 2008-02-18 15:30:36 +00:00
Mitchell Livingston a7e92e501e get mac build building again 2007-11-08 01:07:25 +00:00