Re:Apple's SSL/TLS bug
by lunixbochs on Saturday February 22, 2014 @04:03PM
(#7283584)
If Security.framework is fully buildable from their source, perhaps the optimized out code isn't as much of a problem.
That's a pretty interesting approach. Might even work!
I wonder if something simple (and stupid) like an LD_PRELOAD with an alternative fixed SSLVerifySignedServerKeyExchange would work. Won't work if the code ends up getting inlined.
Guess not, looks like SSLVerifySignedServerKeyExchange is static.
I checked inside the SSLVerifySignedServerKeyExchange disassembly and the compiler expectedly omitted the remainder of the function, so it isn't as simple as sticking a few nops in.