Hi,

I have an implementation of a multi-threaded HTTP server that I wrote using 
OpenSSL version 1.0.1g. Currently, on initialization of the server, I load my 
private key from disk and store it in an EVP_PKEY pointer. Whenever I accept a 
new connection, I use that same pointer to an EVP_PKEY in my call to 
SSL_CTX_use_PrivateKey. Is that safe or should I be copying my EVP_PKEY for 
each connection?

Thanks!

Charles A. Barbe
Senior Software Engineer
Allworx, a Windstream company
245 East Main St | Rochester NY | 14604
[email protected] | 585.421.5565
______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
User Support Mailing List                    [email protected]
Automated List Manager                           [email protected]

Reply via email to