error:140A90F1:SSL routines:SSL_CTX_new:unable to load ssl2 md5 routines

2012-05-13 Thread John O'Connor
I am seeing this error when trying to open an https url using curl and openssl. I am able to open connections and transfer data successfully but when I try to repeat this several times, eventually, I get this failure when trying to open a connection. When that happens, I need to restart my applic

RE: Looking for (easy) help.

2012-05-13 Thread Dave Thompson
>From: owner-openssl-us...@openssl.org On Behalf Of scott...@csweber.com >Sent: Friday, 11 May, 2012 19:15 (re: usual=PKCS5 padding for AES-CBC) >So, a 15 byte block (or ends with a 15 byte after multiples of >16 bytes) would use a 0x01 in the last position...? Yes. >And a whole multiple of 16

Re: PHP openssl_x509_parse extensions=>subjectAltName

2012-05-13 Thread Peter Sylvester
Yes, it can probably be parsed by any ASN.1 parser. But the OID is private - only the organization knows how to interpret it (or what to do with it). private/public in this context refers to governance/ownership not to "visibility". if the organisation documents the any interested party can int

Re: PHP openssl_x509_parse extensions=>subjectAltName

2012-05-13 Thread Jeffrey Walton
On Sun, May 13, 2012 at 4:31 PM, Thomas Anderson wrote: > On Sun, May 13, 2012 at 2:00 PM, Jeffrey Walton wrote: >> On Sun, May 13, 2012 at 1:55 PM, Thomas Anderson wrote: >>> openssl probably just doesn't recognize that OID.  Here's what >>> phpseclib (the latest SVN) shows for that particular

Re: PHP openssl_x509_parse extensions=>subjectAltName

2012-05-13 Thread Thomas Anderson
On Sun, May 13, 2012 at 2:00 PM, Jeffrey Walton wrote: > On Sun, May 13, 2012 at 1:55 PM, Thomas Anderson wrote: >> openssl probably just doesn't recognize that OID.  Here's what >> phpseclib (the latest SVN) shows for that particular extension: >> >>    [8] => Array >>        ( >>            [ex

Re: PHP openssl_x509_parse extensions=>subjectAltName

2012-05-13 Thread Jeffrey Walton
On Sun, May 13, 2012 at 1:55 PM, Thomas Anderson wrote: > openssl probably just doesn't recognize that OID.  Here's what > phpseclib (the latest SVN) shows for that particular extension: > >    [8] => Array >        ( >            [extnId] => id-ce-subjectAltName >            [critical] => >      

Re: Multi-threaded applications, locking_function, threadid_func, dynamic locks

2012-05-13 Thread Vladimir Belov
From: Dr. Stephen Henson Sent: Sunday, May 13, 2012 5:53 PM Yes because some structures need to be locked internally. An example is the error queue. I draw a conclusion: in multi-threaded application using of locking_function and threadid_func is mandatory. Ok. Currently dynamical locks

Re: PHP openssl_x509_parse extensions=>subjectAltName

2012-05-13 Thread Thomas Anderson
openssl probably just doesn't recognize that OID. Here's what phpseclib (the latest SVN) shows for that particular extension: [8] => Array ( [extnId] => id-ce-subjectAltName [critical] => [extnValue] => Array ( [0

openssl evp_key.c documentation

2012-05-13 Thread Abhiroop Dabral
Hi all, I am new to openssl and i was looking for a secure function to take password input from the user. After going through the source i could find evp_key.c where 3 function are defined: which are 1. evp_set_pw_prompt() 2. EVP_get_pw_prompt()3. EVP_read_pw_string() but could not find any

Re: Generating random keys/data on Windows

2012-05-13 Thread jb-openssl
On 13-05-2012 04:09, Web Developer wrote: Hey guys, I need to generate random data (for keys, IVs etc.) but I can't seem to find the right way to do it. Here is the background - I am developing my server in c/c++ on windows using visual studio and am using the openssl1.0.1c library. I was

Re: Multi-threaded applications, locking_function, threadid_func, dynamic locks

2012-05-13 Thread Dr. Stephen Henson
On Sun, May 13, 2012, Vladimir Belov wrote: > Hello. > > 1) If I will use each OpenSSL object only by one thread at the > moment, it can be different thread each time but never two or more > threads will use one object simultaneously do I need to use > locking_function and threadid_func or no? >