Detecting memory leaks with OpenSSL in C

2010-09-19 Thread Chris Kistner
Hallo all, I'm looking for guidelines/best practices on how to detect memory leaks. I've bought the 'Network Security with OpenSSL' book, but it's not helpful in terms of low level OpenSSL programming, where I'm working with custom X.509 v3 extensions and a new network protocol with features base

Re: Duplicate serial number

2010-09-19 Thread Chris Kistner
The serial number has to be unique for the issuer (CA). You can have multiple certificates with the same SubjectName, but the SerialNumber field has to be unique unless you're using a different issuer. Chris On Sun, Sep 19, 2010 at 10:53 PM, wrote: > If you generate multiple certs with the sam

Re: Displaying modulus

2010-09-21 Thread Chris Kistner
Hi Michael, There are always an extra null-byte at the beginning, which has an effect on the sign of the modulus value. The null-byte character would make the modulus a positive value. I've been using the following application with Wine to view my X.509 certificates: http://lipingshare.com/Asn1Ed