Re: How to detect (e.g.) RC4_CHAR mismatch application <-> shared lib

2011-12-22 Thread Per Hedeland
"Dr. Stephen Henson" wrote: > >On Thu, Dec 22, 2011, Per Hedeland wrote: >> >> EVP_EncryptInit(&rc4, EVP_rc4(), dummy_rc4_key, NULL); >> if (rc4.cipher->ctx_size != sizeof(RC4_KEY)) { >> error("RC4_CHAR"); >> } >> EVP_EncryptInit(&des, EVP_des_cbc(), dummy_des_key, dummy_d

Re: How to detect (e.g.) RC4_CHAR mismatch application <-> shared lib

2011-12-22 Thread Dr. Stephen Henson
On Thu, Dec 22, 2011, Per Hedeland wrote: > "Dr. Stephen Henson" wrote: > > > >Well whatever you do here is likely to be a a hack which could well break in > >future etc etc etc... > > Understood. > > >With that disclaimer out of the way you *might* be able to make use of the > >EVP_CIPHER stru

Re: How to detect (e.g.) RC4_CHAR mismatch application <-> shared lib

2011-12-22 Thread Per Hedeland
"Dr. Stephen Henson" wrote: > >Well whatever you do here is likely to be a a hack which could well break in >future etc etc etc... Understood. >With that disclaimer out of the way you *might* be able to make use of the >EVP_CIPHER structures here. Take a look at crypto/evp/e_rc4.c and you'll see

Re: Supporting oldwithold, newwithnew CA certificates Reg.

2011-12-22 Thread Ashok C
Thanks Dave. That part of it is clear now. Another doubt I have is about the SSL_CTX_set_client_ca_list and the SSL_get_client_ca_list. I understand that the set method is called by the server to set the list of CA names that it actually expects from the client. And the client calls ssl_get_client

Re: Malformed Certificate Created for Windows but Not Linux

2011-12-22 Thread Jakob Bohm
On 12/21/2011 8:31 PM, harrije wrote: Which OpenSSL version was it? It was for version 1.0.0e. It would be nice if the Configure script for VC-WIN32 added this option automatically. Alternatively the INSTALL.W32 instructions could have a warning that on x64 PCs to use: perl Configure VC-W

Re: ssleay_rand_add() why is this used?

2011-12-22 Thread Jakob Bohm
On 12/22/2011 2:04 PM, Ssl Group wrote: Hi , Can some one help me in understanding the use of this API "ssleay_rand_add()" ??? And one more thing, we have a "state_index" value used in this function. It is Global Static function. I dont find any where updating this value in the file. Ca

ssleay_rand_add() why is this used?

2011-12-22 Thread Ssl Group
Hi ,    Can some one help me in understanding the use of this API  "ssleay_rand_add()" ??? And one more thing, we have a "state_index" value used in this function. It is Global Static function. I dont find any where updating this value in the file. Can you please let me know if i am wrong or