The switch to having an (ENGINE *) handle inside each RSA structure rather
authorGeoff Thorpe <geoff@openssl.org>
Sun, 28 May 2000 22:54:51 +0000 (22:54 +0000)
committerGeoff Thorpe <geoff@openssl.org>
Sun, 28 May 2000 22:54:51 +0000 (22:54 +0000)
commitb6577e040ebe6e19b7904a386964f26f0a6663d2
tree876b30d322ac4a715efae5ad0df886ef5719ce41
parentbb51f21728ecc5a2fddc7a9cd9c44972f6e8f4cd
The switch to having an (ENGINE *) handle inside each RSA structure rather
than (RSA_METHOD *) required a couple of functions to change shape. I
didn't really pick the best shape to change RSA_set_method into though. :-)

There's nothing really appropriate to return from RSA_set_method; the
temptation to return an "old handle" fails when you consider that the
caller might ignore the return value and so botch up the reference
counting, this wasn't an issue before because there was no reference
counting.
crypto/rsa/rsa.h
crypto/rsa/rsa_lib.c