In case anyone's curious, here's a link to the libsecurity_ssl source (albeit not totally up to date — latest version is pre-"goto fail;" fix):
http://opensource.apple.com/source/Security/Security-55471/l...
Re:OpenSSL is written by monkeys (2009)
by thefreeman on Tuesday April 08, 2014 @10:36PM
(#7557399)
I guess we see how well that worked out for them.
Compared to what?
You are aware that GnuTLS had a very similar "goto" style verification bypass bug, and that OpenSSL has had several flaws and broken stuff discovered, including the major recent "Heartbleed Bug".
Well... Certainly better right now.
The semi-official reason though is that OpenSSL doesn’t offer API compatibility between versions.