Re: sha_block_data_order Crash

2010-08-24 Thread Sayan Chaliha
Hey Sam, Thanks for the response. I think that is the issue here. I was under the impression that configuring using the 'threads' option would be enough to make OpenSSL thread-safe. That was really helpful!! On Tue, Aug 24, 2010 at 9:23 PM, Sam Jantz wrote: > Have you explicitly made your appli

Re: SSL/TLS with server names picked from DNS

2010-08-24 Thread Steffen DETTMER
Hi! * sandeep kiran p wrote on Wed, Aug 11, 2010 at 20:36 -0700: > Ours is an LDAP client application that fetches LDAP server names on > the fly using DNS SRV Resource Records. We then randomly pick one the > servers returned from DNS, establish an SSL/TLS connection with that > server and then p

Re: Weird Validation Error

2010-08-24 Thread Bram Cymet
On 08/23/2010 06:19 PM, Bram Cymet wrote: Hi, Does any know of what would cause ctx->error to be set to 0 (X509_V_OK ) with a call to x509_verify_cert() that should result in X509_V_ERR_UNABLE_TO_GET_CRL. From the OpenSSL Source (x509_vfy.h) it looks like that would mean there were uninitia

Re: Just Encryption Using Openssl

2010-08-24 Thread Jakob Bohm
On 24-08-2010 15:14, Harshvir Sidhu wrote: Ben, theEncryptor::blowfish(unsigned char *data, int data_len, unsigned char* key, unsigned char *ivec, int enc) In this function you are passing key argument as char *, i am not able to find alice's public key in char* format, we received that

Re: sha_block_data_order Crash

2010-08-24 Thread Jakob Bohm
I am afraid I cannot match your stack trace to the disassembly without either line numbers in the disassembly or a numeric value for the $rip register. On 24-08-2010 13:37, Sayan Chaliha wrote: Hey all, Under stressed conditions (multi-threaded apps with several threads using OpenSSL at the same

Re: sha_block_data_order Crash

2010-08-24 Thread Sam Jantz
Have you explicitly made your application thread safe? There are four functions that you need to implement to make the OpenSSL libraries themselves thread safe. These are: static void locking_function(int mode, int n, const char * file, int line) static unsigned long id_function(void) int THREAD

Re: Just Encryption Using Openssl

2010-08-24 Thread Harshvir Sidhu
Ben, theEncryptor::blowfish(unsigned char *data, int data_len, unsigned char* key, unsigned char *ivec, int enc) In this function you are passing key argument as char *, i am not able to find alice's public key in char* format, we received that in 2 buffers and we put that in RSA struct. W