Re: Puzzling 50ms delay between SSL_write and poll response

2007-07-29 Thread David Lobron
Thanks, guys- this does indeed seem to be the cause of the problem. I am going to fix my application to send all the data at once. Best, David On Jul 27, 2007, at 5:53 PM, David Schwartz wrote: First off have you tried to merge the application data for the SSL_write() calls into larger

Re: Error while encryption or Decrypting

2007-07-29 Thread Brad Hards
On Saturday 28 July 2007 01:49, Pink Princess wrote: *** glibc detected *** /home/noura/workspace/256OpenSSL/apps/openssl: double free or corruption (!prev): 0x0820d170 *** This is the most likely problem - you are free()ing memory that has already been free()d. Maybe you are free()ing memory

verify_callback

2007-07-29 Thread Sevin
One question about custom certificate checks: I have written a custom verify_callback function which returns true always. That is, I accept any certificate chain. Also I use: ctx.set_verify(SSL.verify_peer | SSL.verify_fail_if_no_peer_cert, depth=9, callback=verify_callback) option both in