On Tue, 10 Mar 1998, Rich Salz wrote:
> It seems to me that NO_RSA is not fine-grain enough, and that I'm going
> to have to go into ssl and crypto/rsa and add some of my own #ifdef's.
> 
> Is this assessment correct?  Anyone already done this? :)

Have a look in crypto/rsa/rsa_lib.c, RSA_new_method.
All the RSA stuff goes through a reconfigurable RSA method.
To add support for using tokens, or RSAref, change the default_RSA_method,
or call RSA_new_method() when creating the RSA *.  I've been changing this
stuff for the next release, but what you need should be in there.
You can have command line switchable between RSAref, SSLeay or some other
RSA library you write the RSA_METHOD for.

eric

+-------------------------------------------------------------------------+
| Administrative requests should be sent to [EMAIL PROTECTED] |
| List service provided by Open Software Associates, http://www.osa.com/  |
+-------------------------------------------------------------------------+

Reply via email to