I want to hard code a certificate in my application, and by using the
x509 command with the -C switch, I've created a C-structure for the
certificate.
I want to use the function (or any function that will do the trick)
int SSL_CTX_use_certificate(SSL_CTX *ctx, X509 *x);
to tell SSLeay to use this certificate, but I'm not sure how to get the
certificate into an X509*. If anyone could provide example code of how
to establish this, I'd be most grateful.
--
Tomas Hellberg, SECTRA, http://www.sectra.se/
+-------------------------------------------------------------------------+
| Administrative requests should be sent to [EMAIL PROTECTED] |
| List service provided by Open Software Associates, http://www.osa.com/ |
+-------------------------------------------------------------------------+