RE: Open SSL API's Support For IPv6.

2011-10-22 Thread Akanksha Shukla
Hi Stephen, I tried with retry logic as well (though earlier it was also same), but same result. int retryCounter = 0; while(retryCounter < CONNECT_MAX_TRY) { int retVal = BIO_do_connect(conn); if(retVal <= 0) { if(BIO_should_retry(conn)) {

Re: Open SSL API's Support For IPv6.

2011-10-22 Thread Dr. Stephen Henson
On Sat, Oct 22, 2011, Akanksha Shukla wrote: > > 5) BIO_set_nbio(conn, 1); > > 6) int retVal = BIO_do_connect(conn); > > if(retVal <= 0) > > { > > cout << " The Bio_do_connect failed" << endl; > > } > > > > After executing the program, I am getting output as : > >

Re: Help Needed: SSL Connect starting from a weird state

2011-10-22 Thread Jeff Saremi
My initial analysis of this was very misleading. I have to apologize for that. The problem was that during the first part of the handshake (clienthello), the call failed without anything being written out. Tracing ssl23_client_hello() in s23_clnt.c showed that the following statement returned false

RE: Open SSL API's Support For IPv6.

2011-10-22 Thread Akanksha Shukla
Hi Stephen, As suggested by you, I tried following things for IPv4 only but still facing the issue. 1) char address[INET_ADDRSTRLEN+1] = "10.65.156.197"; 2) int socket_desc = socket (AF_INET, SOCK_STREAM, 0); if (socket_desc == INVALID_SOCKET) { cout << "The error re

about Cisco PAC

2011-10-22 Thread why
Hi, all. Can openssl generate the Cisco'PAC file used in the EAP-FAST? Thank you!