On Wed, Nov 21, 2001 at 04:39:52PM +0530, Krishnaswamy R. wrote: > Iam working on a TLS client using OpenSSL on VxWorks. > I need to do server authentication. The openssl function > SSL_CTX_load_verify_locations() takes a file as a > parameter for the CA certificate. In my application, there is > no standard file system and I have the CA cert(DER form) > in memory. Is there a way to set the CA cert memory buffer > as trusted cert for an SSL context?
openssl/crypto/x509/by_file.c: ... X509_STORE_add_cert(ctx->store_ctx,x); ... No documentation available, but it should be self-explanatory :-). Best regards, Lutz -- Lutz Jaenicke [EMAIL PROTECTED] BTU Cottbus http://www.aet.TU-Cottbus.DE/personen/jaenicke/ Lehrstuhl Allgemeine Elektrotechnik Tel. +49 355 69-4129 Universitaetsplatz 3-4, D-03044 Cottbus Fax. +49 355 69-4153 ______________________________________________________________________ OpenSSL Project http://www.openssl.org User Support Mailing List [EMAIL PROTECTED] Automated List Manager [EMAIL PROTECTED]