Re: crash from curl with pkcs12 certs and threads

2010-07-14 Thread Brian Makin
On Thu, 2010-07-08 at 18:54 +0200, Dr. Stephen Henson wrote: On Thu, Jul 08, 2010, Brian Makin wrote: Ahh, got it. in crypto/evp/evp_pbe.c:EvP_PBE_alg_add pbe_tmp isn't initialized which means sometimes it has a bogus value. 119c119 EVP_PBE_CTL *pbe_tmp = NULL, pbelu

Re: crash from curl with pkcs12 certs and threads

2010-07-08 Thread Brian Makin
On Wed, 2010-07-07 at 21:28 +0200, Dr. Stephen Henson wrote: On Wed, Jul 07, 2010, Brian Makin wrote: The snapshots all seem to be failing in make test... Is this a known issue or might it be a problem on my end? Testing key generation with NIST Binary-Curve K-571 ok

Re: crash from curl with pkcs12 certs and threads

2010-07-07 Thread Brian Makin
(core dumped) $cmd enc $test $test.cipher ./testenc: line 11: 26684 Segmentation fault (core dumped) $cmd enc $test.cipher $test.clear cmp: EOF on ./p.clear On Sat, 2010-06-26 at 14:56 +0200, Dr. Stephen Henson wrote: On Thu, Jun 24, 2010, Brian Makin wrote: On Thu, 2010-06-24

Re: crash from curl with pkcs12 certs and threads

2010-07-07 Thread Brian Makin
Hah! reverted EVP_PBE_alg_add $ make $ make test everything passed :) I'll try to get at least a stack. On Wed, 2010-07-07 at 21:28 +0200, Dr. Stephen Henson wrote: On Wed, Jul 07, 2010, Brian Makin wrote: The snapshots all seem to be failing in make test... Is this a known issue

Slow crypto initialization.

2010-06-30 Thread Brian Makin
is misbehaving? -- BRIAN MAKIN Senior Software Engineer ma...@vivisimo.com Vivisimo [Search Done Rightâ„¢] 1710 Murray Avenue Pittsburgh, PA 15217 USA tel: +1.412.422.2499 vivisimo.com __ OpenSSL Project

RAND_add with struct explanation?

2010-06-30 Thread Brian Makin
. Is this a bug or do I just not understand that bit of code? -- BRIAN MAKIN Senior Software Engineer ma...@vivisimo.com Vivisimo [Search Done Rightâ„¢] 1710 Murray Avenue Pittsburgh, PA 15217 USA tel: +1.412.422.2499 vivisimo.com

Re: Slow crypto initialization.

2010-06-30 Thread Brian Makin
, but remember... Cave canem! (And this one has a /serious/ bite to it!) On Wed, Jun 30, 2010 at 4:11 PM, Brian Makin ma...@vivisimo.com wrote: I am seeing a very slow initialization on a single Windows 2003 box with openssl-0.9.8l. During initialization

Re: Slow crypto initialization.

2010-06-30 Thread Brian Makin
This is Windows 2003, 64 bit, and it's definitely in RAND_screen. I'm trying to move things to 1.0.0a now. On Wed, 2010-06-30 at 20:47 +0200, Dr. Stephen Henson wrote: On Wed, Jun 30, 2010, Ger Hobbelt wrote: :-( I hope I recall correctly that what I mention next is indeed stuff happening

Re: crash from curl with pkcs12 certs and threads

2010-06-24 Thread Brian Makin
On Thu, 2010-06-24 at 15:22 +0200, Dr. Stephen Henson wrote: On Tue, Jun 22, 2010, Brian Makin wrote: snip Can you check to see if PKCS12_PBE_add() is called multiple times using the debugger? It is only supposed to be called once before threads are started but a bug means

Re: crash from curl with pkcs12 certs and threads

2010-06-22 Thread Brian Makin
On Tue, 2010-06-22 at 19:00 +0200, Dr. Stephen Henson wrote: On Tue, Jun 22, 2010, Brian Makin wrote: Using curl 7.16.1 and 7.20.0 with openssl 0.9.8l and 0.9.8o I am getting intermittent crashes. Apache is setup with a pkcs12 cert and when this fails it is always early in the process