David Schwartz wrote:
>
>
>> Hi,
>> Can anyone tell me if SSL_peek is a blocking or non-blocking call ?
>
> It can be either.
>
>> When I use it inside my code, then the program blocks on this fuction
>> call
>> where there is no data on the socket.
>
> If you're using blocking socket calls
Hi,
Can anyone tell me if SSL_peek is a blocking or non-blocking call ?
When I use it inside my code, then the program blocks on this fuction call
where there is no data on the socket.
The reason I want to use this call is that before closing the SSL connection
by using 'SSL_shutdown', I want to m
The tcp socket calls are accessed by macros defined in file e_os.h.
Is it all what you want to know?
prashanth s joshi wrote:
>
> Hi SSL experts,
> I am using the s_client.c and the s_server.c for my ssl client and server.
> I
> need to find the socket calls such as send and recv. ie SSL_writ
Hi,
I am using openSSL 0.9.7b on PPC604 vxWorks Board.
During initilization of OpenSSL with DHparam file, following flow is used:
pDHParamfp /* file pointer to dhparam.pem file */
..
dh = PEM_read_DHparams(pDHParamfp, sdf_co_null, Sdf_co_null, Sdf_co_null);
..SSL_CTX_set_tmp_dh(pSslCtx, dh);
fro
;
}
So, this kind of condition should be put for every non-blocking SSL call ?
vne wrote:
>
> Hi,
> I replaced the call to SSL_select to this one and it worked !!! Thanks for
> your help.
>
> int i =0;
> while(1 == i)
> {
>
kind of condition should be put for every non-blocking SSL call ?
vne wrote:
>
> 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 f
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
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
successfully.
On