Man..... Would I be a happy man if there were a FM to R..... :-)
The OpenSSL.txt (OpenSSL v.0.9.2b) does contain a lot of information
about extensions, but there is nothing in there mentioning the API
functions. So unless you are very experienced with OpenSSL, how the h... are
you supposed to know that you have to call a specific function found
somewhere in the 2000+ files of OpenSSL to enable extension handling?
Anyway, the X509V3_add_standard_extensions() did the trick. I not
sure what it does, how to free it again (X509V3_EXT_cleanup() maybe) or if
it can be called and freed as many times you want, but I'll try and see what
happens.
All that said..... I still love OpenSSL and have the deepest respect
for you guys maintaining/developing the code.
Thanks Steve....
Kim Hellan.
> [EMAIL PROTECTED] wrote:
> >
> > I'm trying (hard) to parse a CRL (version 2) using the OpenSSL API.
> >
> > The problem is that the CRL Reason Code for the revoked certificates
> does
> > not show anything.
>
> I'm tempted to say RTFM here because as most OpenSSL users know, most of
> the time there isn't a FM to R :-) however this is probably the
> exception.
>
> Try adding X509V3_add_standard_extensions(); to initialiase the
> extension code. Theres some fairly complete info about how the new V3
> extension code works in docs/openssl.txt
>
> Steve.
>
______________________________________________________________________
OpenSSL Project http://www.openssl.org
Development Mailing List [EMAIL PROTECTED]
Automated List Manager [EMAIL PROTECTED]