Because Solaris has a loop unroll optimization bug. Apply all the latest patches to SunStudio 11 and it should work. Please check back in to let us know.
It's a really high level bug - because it hit both sparc and x86 :) Donny Dinh wrote: > > I managed to get the solaris build to work properly by changing the > compiler flags > > i.e. using config rule "debug-solaris-sparcv8-cc" instead of > "solaris-sparcv8-cc" > > Why exactly does it work now...? I'm not too sure, but I reckon its some > kind of timing issue > (considering that Michael Stroder suggested using the -pause option - > which btw didn't work for me) > > > > > > *Michael Ströder <[EMAIL PROTECTED]>* > Sent by: [EMAIL PROTECTED] > > 12/12/2006 09:06 PM > Please respond to > openssl-users@openssl.org > > > > To > openssl-users@openssl.org > cc > > Subject > Re: SSLv3 handshaking fails on solaris > > > > > > > > > Donny Dinh wrote: >> >> *>>>> ./openssl s_client -connect www.google.com:443 -state* >> [..] >> *6709:error:140943FC:SSL routines:SSL3_READ_BYTES:sslv3 alert bad record >> mac:s3_pkt.c:1057:SSL alert number 20* >> *6709:error:140790E5:SSL routines:SSL23_WRITE:ssl handshake >> failure:s23_lib.c:188:* >> >> If I force it to use SSLv2 only, it works correctly. > > Also try the option -pause together with SSLv3. > >> I think this is a solaris problem because I have tested this on other >> platforms (linux, hpux, aix) and it works correctly. > > I have seen similar problems on other platforms (client and server). I > was not able to track it down to a deterministic failure though. > > Ciao, Michael. > ______________________________________________________________________ > OpenSSL Project http://www.openssl.org > User Support Mailing List openssl-users@openssl.org > Automated List Manager [EMAIL PROTECTED] > ______________________________________________________________________ OpenSSL Project http://www.openssl.org User Support Mailing List openssl-users@openssl.org Automated List Manager [EMAIL PROTECTED]