Hi I'm pretty new to openssl.
I have some code that gets the certificate subject from the X509_STORE_CTX as follows: int my_func(int ok, X509_STORE_CTX *ctx) { char subject[256]; X509 *client_cert; client_cert = X509_STORE_CTX_get_current_cert(ctx); X509_NAME_oneline(X509_get_subject_name(client_cert), subject, 256); } I'd like to do the same again at another place in the code but the only structure I have available at that point is an SSL. >From looking through the OpenSSL code the SSL, SSL_CTX, X509_STORE and X509_CTX_STORE all seem quite closely related but I can't quite work out how to do what I want. Which is to get access to the X509_STORE_CTX from an SSL struct. Is there a way or do I have to resort to passing in the info myself? Thanks Mark ______________________________________________________________________ OpenSSL Project http://www.openssl.org User Support Mailing List openssl-users@openssl.org Automated List Manager [EMAIL PROTECTED]