Need help for select and a SSL_read problem

2006-07-28 Thread GUIRY Aroun
Hi all I am doing a simple ssl server/client. I use a select function to read and write in the socket. From my client I send 1KB of data, in one time, and then I expect to read it in the server. In the server appli, I have got a select read hit, and I read 500B. Then I expect to have a

Re: Need help for select and a SSL_read problem

2006-07-28 Thread GUIRY Aroun
, 5)= 5 read(4, q\361\322\'*\2764\223\302g\375\260\0\211\376\265\266F..., 32) = 32 select(5, [4], NULL, NULL, NULL Thanks GUIRY Aroun wrote: If I send a new packet from the client I can read the missing packets, but not the new one. I use non-blocking sockets. Are you

How to check one by one the different errors of a certificate

2006-06-02 Thread GUIRY Aroun
Hi all I am doing a https client in C language. And I would like to know if there is a function that can only check whether the server certificate signature fails? I use the SSL_get_verify_result() which return the first error encountered. Is it possible to verify only a single error ?