Re: Password callback functions per SSL_use_PrivateKey_file

2013-07-25 Thread Dr. Stephen Henson
On Thu, Jul 25, 2013, Karthik Krishnamurthy wrote: > Steve, > > Thanks much for the reply. I did not realize that EVP_PKEY structures > can have their own callbacks. It's a few extra hoops, but worth it! > Actually EVP_PKEY structures don't have callbacks at all, but you can load them using arb

Re: Password callback functions per SSL_use_PrivateKey_file

2013-07-24 Thread Karthik Krishnamurthy
Steve, Thanks much for the reply. I did not realize that EVP_PKEY structures can have their own callbacks. It's a few extra hoops, but worth it! Thanks, Karthik On Wed, Jul 24, 2013 at 8:15 AM, Dr. Stephen Henson wrote: > On Tue, Jul 23, 2013, Karthik Krishnamurthy wrote: > >> OpenSSL provides

Re: Password callback functions per SSL_use_PrivateKey_file

2013-07-24 Thread Dr. Stephen Henson
On Tue, Jul 23, 2013, Karthik Krishnamurthy wrote: > OpenSSL provides multiple SSL objects to be created from a single SSL_CTX > object and each SSL object can use a different privatekey file > (SSL_use_PrivateKey_file). > > Given this flexibility, I don't see an option to have a password callbac

Password callback functions per SSL_use_PrivateKey_file

2013-07-23 Thread Karthik Krishnamurthy
OpenSSL provides multiple SSL objects to be created from a single SSL_CTX object and each SSL object can use a different privatekey file (SSL_use_PrivateKey_file). Given this flexibility, I don't see an option to have a password callback function per SSL object. The callbacks are provided only on