Anyone had any problems with a browser trying to connect to an OpenSSL server? I seem to be getting upset down in the code because of a version conflict. Call trace: ------------ mycode() SSL_accept() ssl3_accept() ssl3_get_message() ssl3_read_bytes() ssl3_get_record() { <snip> p = s->packet; // my packet looks like this at the beginning 80 40 01 03 00 // when I connect with an OpenSSL client it looks like this 16 03 00 00 47 // hmm.... rr->type= *(p++); ssl_major= *(p++); // I always end up with 64 , should be 3 ssl_minor= *(p++); // I always get 1, should be 0 version=(ssl_major<<8)|ssl_minor; n2s(p,rr->length); /* Lets check version */ if (s->first_packet) { s->first_packet=0; } else { if (version != s->version) { SSLerr(SSL_F_SSL3_GET_RECORD,SSL_R_WRONG_VERSION_NUMBER); /* Send back error using their * version number :-) */ s->version=version; al=SSL_AD_PROTOCOL_VERSION; goto f_err; } } if ((version>>8) != SSL3_VERSION_MAJOR) { // dies in here.... for obvious reasons SSLerr(SSL_F_SSL3_GET_RECORD,SSL_R_WRONG_VERSION_NUMBER); goto err; } } Any ideas, I get the same problem with IE and Netscape. Thanks. -Jim
begin:vcard n:Miller;Jim tel;cell:703-629-3236 tel;fax:703-421-2592 tel;work:703-421-1755 x-mozilla-html:TRUE url:www.entegrity.com org:Entegrity Solutions;Professional Services adr:;;2077 Gateway Place, Ste. 200;San Jose;CA;95110;US version:2.1 email;internet:[EMAIL PROTECTED] title:Security Architecture & Integration Team fn:Jim Miller end:vcard