Ensure that the "ex_data" member of an RSA structure is initialised before
authorGeoff Thorpe <geoff@openssl.org>
Sun, 26 Nov 2000 18:34:45 +0000 (18:34 +0000)
committerGeoff Thorpe <geoff@openssl.org>
Sun, 26 Nov 2000 18:34:45 +0000 (18:34 +0000)
commit7abe8305016609939ee5ff0429c9e26d089c321e
tree6c6b348dc1740c68a82913fd24b04086ffff51fb
parent5acaa49504153ecdd9734ac80aeb9153fde94e48
Ensure that the "ex_data" member of an RSA structure is initialised before
the RSA_METHOD's "init()" handler is called, and is cleaned up after the
RSA_METHOD's "finish()" handler is called. Custom RSA_METHODs may wish to
initialise contexts and other specifics in the RSA structure upon creation
and that was previously not possible - "ex_data" is where that stuff
should go and it was being initialised too late for it to be used.
crypto/rsa/rsa_lib.c