I modified X509_load_cert_crl_file() (in by_file.c) to invoke BIO_new_mem_buf() rather than BIO_new_file(). This seems to work satisfactorily. I probably have to add a module by_mem.c similar to by_file.c so we can pass a buffer (rather than a filename) to SSL_CTX_load_verify_locations(). I did not get around to doing all that yet.
I would be curious to know how others tackled this, if there is an easier, cleaner approach to solving this. Thanks, Padma --- Chris Zacker <[EMAIL PROTECTED]> wrote: > I have a simple question. If you have a specific > CACert that you (a client) > want to use for verifying the Server, and you don't > have a file system what > do you need to do? > I know that SLL_CTX_load_verify_locations expect you > to pass in a filename > and directory (although dir can be null). Is there > some lower level calls > that can be made to just load the specific CACert > into the SSL_CTX > structure? > Thanks > Chris Zacker > > ATTACHMENT part 2 application/ms-tnef name=winmail.dat __________________________________ Do you Yahoo!? Exclusive Video Premiere - Britney Spears http://launch.yahoo.com/promos/britneyspears/ ______________________________________________________________________ OpenSSL Project http://www.openssl.org User Support Mailing List [EMAIL PROTECTED] Automated List Manager [EMAIL PROTECTED]