RE: EC_KEY and PEM_read_RSAPrivateKey

2012-09-04 Thread Dave Thompson
> From: owner-openssl-...@openssl.org On Behalf Of redpath > Sent: Tuesday, 04 September, 2012 09:27 > Testing the i2d_ECPrivateKey to buffer and then back d2i_ECPrivateKey > and it fails. I checked the forum and one guy was passing NULL at least I > missed that mistake but thats not my issue. >

Re: [openssl.org #2866] Openssl can deadlock OpenSSL version 1.0.1c

2012-09-04 Thread Quanah Gibson-Mount
--On Wednesday, September 05, 2012 12:40 AM +0200 "Dr. Stephen Henson" wrote: On Tue, Sep 04, 2012, Quanah Gibson-Mount via RT wrote: --On Tuesday, September 04, 2012 10:26 PM +0200 Stephen Henson via RT wrote: >> [qua...@zimbra.com - Tue Aug 28 22:43:34 2012]: >> >> --On Tuesday, August 2

Re: [openssl.org #2866] Openssl can deadlock OpenSSL version 1.0.1c

2012-09-04 Thread Dr. Stephen Henson
On Tue, Sep 04, 2012, Quanah Gibson-Mount via RT wrote: > --On Tuesday, September 04, 2012 10:26 PM +0200 Stephen Henson via RT > wrote: > > >> [qua...@zimbra.com - Tue Aug 28 22:43:34 2012]: > >> > >> --On Tuesday, August 28, 2012 4:36 PM +0200 The default queue via RT > >> wrote: > >> > >> M

Re: [openssl.org #2866] Openssl can deadlock OpenSSL version 1.0.1c

2012-09-04 Thread Quanah Gibson-Mount via RT
--On Tuesday, September 04, 2012 10:26 PM +0200 Stephen Henson via RT wrote: >> [qua...@zimbra.com - Tue Aug 28 22:43:34 2012]: >> >> --On Tuesday, August 28, 2012 4:36 PM +0200 The default queue via RT >> wrote: >> >> Mutex information from gdb: >> >> (gdb) print mutex >> $5 = (ldap_pvt_thread

Re: [openssl.org #2866] Openssl can deadlock OpenSSL version 1.0.1c

2012-09-04 Thread Quanah Gibson-Mount
--On Tuesday, September 04, 2012 10:26 PM +0200 Stephen Henson via RT wrote: [qua...@zimbra.com - Tue Aug 28 22:43:34 2012]: --On Tuesday, August 28, 2012 4:36 PM +0200 The default queue via RT wrote: Mutex information from gdb: (gdb) print mutex $5 = (ldap_pvt_thread_mutex_t *) 0x7f838762

[openssl.org #2866] Openssl can deadlock OpenSSL version 1.0.1c

2012-09-04 Thread Stephen Henson via RT
> [qua...@zimbra.com - Tue Aug 28 22:43:34 2012]: > > --On Tuesday, August 28, 2012 4:36 PM +0200 The default queue via RT > wrote: > > Mutex information from gdb: > > (gdb) print mutex > $5 = (ldap_pvt_thread_mutex_t *) 0x7f8387626f30 > (gdb) print *mutex > $6 = {__data = {__lock = 2, __count

Re: EC_KEY and PEM_read_RSAPrivateKey

2012-09-04 Thread Dr. Stephen Henson
On Tue, Sep 04, 2012, redpath wrote: > > Since I want to save the random generated key to use for private and > also I will do this for public. The public works though back and forth. So > where em I going wrong? > > > len= i2d_ECPrivateKey(eckey,NULL); > printf("PRIVATE KEY LENGTH is %

Re: EC_KEY and PEM_read_RSAPrivateKey

2012-09-04 Thread Douglas E. Engert
On 9/4/2012 8:26 AM, redpath wrote: Testing the i2d_ECPrivateKey to buffer and then back d2i_ECPrivateKey and it fails. I checked the forum and one guy was passing NULL at least I missed that mistake but thats not my issue. Since I want to save the random generated key to use for private and

OpenSSL 1.0.1c deadlock

2012-09-04 Thread Quanah Gibson-Mount
Hi, We've managed on a few occasions now to reproduce an issue where OpenSSL deadlocks while trying to acquire a mutex it already has. I filed about this issue. I currently have a server where this has occurred, with the process in GDB. Howeve

Re: EC_KEY and PEM_read_RSAPrivateKey

2012-09-04 Thread redpath
Testing the i2d_ECPrivateKey to buffer and then back d2i_ECPrivateKey and it fails. I checked the forum and one guy was passing NULL at least I missed that mistake but thats not my issue. Since I want to save the random generated key to use for private and also I will do this for public. The pub

Re: [openssl.org #2745] Fwd: GOST engine memory problems

2012-09-04 Thread Dmitry Belyavsky via RT
Greetings! It seems to be not enough. openssl is built with "shared" option the config is openssl_conf = openssl_def [openssl_def] engines = engine_section [engine_section] gost = gost_section [gost_section] engine_id = gost default_algorithms = ALL CRYPT_PARAMS = id-Gost28147-89-Crypto

Re: [openssl.org #2745] Fwd: GOST engine memory problems

2012-09-04 Thread Dmitry Belyavsky
Greetings! It seems to be not enough. openssl is built with "shared" option the config is openssl_conf = openssl_def [openssl_def] engines = engine_section [engine_section] gost = gost_section [gost_section] engine_id = gost default_algorithms = ALL CRYPT_PARAMS = id-Gost28147-89-Crypto