Hello everybody,

I know, that might be an easy question, but I really didn't find an
answer till now...

I have a certificate in TLS (X.509) with an ASN1. Bit String extension.
How to I read it out? Till now I did the following:

X509_EXTENSION *ext;

But extstr is not exactly what it should be. It should be a bit string
of 20 bytes. extstr contains 20 bytes, but the first 4 bytes are always
"1614" and the last four bytes are missing.... Any ideas? (I am sure, I
am simply using the wrong functions, but everything I tried gave the
same result)

Thanks in advance


__________________________________________________ ____________________
OpenSSL Project http://www.openssl.org
User Support Mailing List openssl-users@openssl.org
Automated List Manager majordomo@openssl.org