Re: Encoding DSA structures

2004-01-15 Thread Dr. Stephen Henson
On Thu, Jan 15, 2004, Matt Margush wrote: > Hi, > > I searched the mailing list archives but couldn't find this question. > When I run the following code, I get an "EXC_BAD_ACCESS" signal at line > 29. If I reverse the order (encode the private key first, then the > public key), then the er

RE: Encoding DSA structures

2004-01-15 Thread Bommareddy, Satish (Satish)
Try using: p = buffer = OPENSSL_malloc(length); instead satish -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Matt Margush Sent: Thursday, January 15, 2004 1:36 PM To: [EMAIL PROTECTED] Subject: Encoding DSA structures Hi, I searched the mailing list

Encoding DSA structures

2004-01-15 Thread Matt Margush
Hi, I searched the mailing list archives but couldn't find this question. When I run the following code, I get an "EXC_BAD_ACCESS" signal at line 29. If I reverse the order (encode the private key first, then the public key), then the error happens on the call to encode the public key. So