commit | deb4d50e5125f7c26f36ac31b7c63ef805df9a85 | [log] [tgz] |
---|---|---|
author | Geoff Thorpe <geoff@openssl.org> | Thu Apr 20 06:44:18 2000 +0000 |
committer | Geoff Thorpe <geoff@openssl.org> | Thu Apr 20 06:44:18 2000 +0000 |
tree | e7e82bd521d2d75cc40edab3fd4ee2a0eb055318 | |
parent | ffb488781f60643d305b37d4614b57869e57e1c2 [diff] |
Previously, the default RSA_METHOD was NULL until the first RSA structure was initialised, at which point an appropriate default was chosen. This meant a call to RSA_get_default_method might have returned FALSE. This change fixes that; now any called to RSA_new(), RSA_new_method(NULL), or RSA_get_default_method() will ensure that a default is chosen if it wasn't already.