Merge lp:~scolphoy/hipl/RSA_generate_key_ex into lp:hipl
Status: | Superseded |
---|---|
Proposed branch: | lp:~scolphoy/hipl/RSA_generate_key_ex |
Merge into: | lp:hipl |
Diff against target: |
29 lines (+6/-5) 1 file modified
libcore/crypto.c (+6/-5) |
To merge this branch: | bzr merge lp:~scolphoy/hipl/RSA_generate_key_ex |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Miika Komu | Needs Fixing | ||
Review via email: mp+186684@code.launchpad.net |
This proposal has been superseded by a proposal from 2013-09-20.
Description of the change
Change RSA_generate_key to RSA_generate_key_ex in crypto.c
The RSA_generate_key function has been deprecated in OpenSSL
in favour of the newer function RSA_generate_
http://
RSA_generate_key_ex with its current interface has been
part of OpenSSL starting from version 0.9.8 (July 2005).
Granted it still remains a bit poorly documented.
If OpenSSL was compiled with the 'no-deprecated' argument,
the old function will not be available. This is the case
e.g. with modern versions of Android.
I tried compiling the revision from trunk added with
these changes and connecting to a hip-enabled host;
I found no difference in operation compared to using
the older function.
Use the hooks (or set the copyright year manually). Please fix and then merge.