Hi all,

I am trying to load a CRL, and currently my options seem to be choosing one of the following:

X509_STORE_add_lookup(certstore, X509_LOOKUP_hash_dir())
X509_STORE_add_lookup(certstore, X509_LOOKUP_file())

The dilemma I face is that I need to do this in a non blocking fashion in an event loop, so the functions above won't help me.

What I am looking for is a function that will add a certificate to the store from an area in memory, loaded earlier.

Having picked apart the lookup code, I can't find the point where the CRL is read into the certificate store.

Is there a recommended function to use for this?

I was also struggling to understand the exact semantics of reading certificates from a directory, and what exactly is meant by the "hash" in the directory. I have a set of CRLs in a directory, and I find files with the extensions, .pem, .r0 and r0.p7, and files with the extension .old. Is there a special way each of these files is handled?

Regards,
Graham
--

______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
User Support Mailing List                    openssl-users@openssl.org
Automated List Manager                           majord...@openssl.org

Reply via email to