"Reddie, Steven" wrote:
> 
> Greg, I'm not sure about the state of PKCS#11 support in relation to the
> latest snapshot, however I can give you some answers in relation to the
> latest release, OpenSSL 0.9.4.

It seems everyone is duplicating this effort in fact.
I supected that already.

>         * [***HACK***] set RSA->p to the handle of the PKCS#11 key

I did that a slightly different way.

set RSA->meth->app_data to the handle of the PKCS#11 key

But with this method, meth has to be dynamically allocated each time.
Your method is a bit simpler, but you have to override the type of
rsa->p.
______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
Development Mailing List                       [EMAIL PROTECTED]
Automated List Manager                           [EMAIL PROTECTED]

Reply via email to