RE: Problem in using SSL_accept on vxWorks 5.5 (Pentium)

2008-09-12 Thread David Schwartz
> Hi, > I replaced the call to SSL_select to this one and it worked !!! Thanks for > your help. > > int i =0; > while(1 == i) > { > dRetVal = SSL_accept(pSsl); > if(!(SSL_ERROR_WANT_READ == SSL_get_error(pSsl,dRetVal))) > i=0; >

RE: Problem in using SSL_accept on vxWorks 5.5 (Pentium)

2008-09-12 Thread vne
[Corrected] Hi , I replaced the call to SSL_accept to this one and it worked !!! Thanks for your help. int i =0; while(1 == i) { dRetVal = SSL_accept(pSsl); if(!(SSL_ERROR_WANT_READ == SSL_get_error(pSsl,dRetVal))) i=0;

RE: Problem in using SSL_accept on vxWorks 5.5 (Pentium)

2008-09-12 Thread vne
Hi, I replaced the call to SSL_select to this one and it worked !!! Thanks for your help. int i =0; while(1 == i) { dRetVal = SSL_accept(pSsl); if(!(SSL_ERROR_WANT_READ == SSL_get_error(pSsl,dRetVal))) i=0; } So, this k

RE: Problem in using SSL_accept on vxWorks 5.5 (Pentium)

2008-09-12 Thread David Schwartz
> You are right that I am making a non-blocking SSL_accept call. > The problem is on vxWorks when 'select' states that some > connection request > is present, SSL_accept returns failure with error code as > SSL_ERROR_WANT_READ. That's because the connection request was present but the negotiatio

RE: Problem in using SSL_accept on vxWorks 5.5 (Pentium)

2008-09-12 Thread vne
You are right that I am making a non-blocking SSL_accept call. The problem is on vxWorks when 'select' states that some connection request is present, SSL_accept returns failure with error code as SSL_ERROR_WANT_READ. But if I add some delay in between this 'select' and 'SSL_accept', then it ret

RE: Problem in using SSL_accept on vxWorks 5.5 (Pentium)

2008-09-12 Thread David Schwartz
> Hi, > I am trying to use SSL_accept on vxWorks 5.5 (Pentium). But when the SSL > client sends the initial handshake message (Client Hello), > then SSL_accept returns failure with error as SSL_ERROR_WANT_READ. > > The same code works fine when used on Linux platform and > handshake completes > su