On Wed, Dec 20, 2000 at 04:25:03PM +0200, Wirta, Ville wrote:
> I was wondering what might the differences between
> "SSL_use_certificate_file" and "SSL_CTX_use_certificate_file" be? Private
> key file can also be attached to both ssl_s and ssl_ctx... Would there be a
> place to read more of these or could someone help me a little?
A manual page for these functions was added to OpenSSL approx 2 weeks ago.
The contents will however not include much more than you already have
figured out yourself. The SSL_* class of functions allows you to override
the private/public key which has been set for the complete SSL_CTX.
> I would also like to know if the only proper way of using OpenSSL with
> threads is to call "SSL_new" for every request (and shutdown and free in the
> end)? I just keep getting broken SSL_s structs and other failures while I'm
> trying to use the same SSL_s for several requests. ...I just don't
> understand... would someone teach? :-)
I don't have experience with threads.
Did you call SSL_clear() after finishing the connection and before reusing
the SSL object?
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]