Files
libssh/src
Petar Koretic fdced9d544 pki_crypto: Replace deprecated RSA_generate_key() with RSA_generate_key_ex()
On Mar 16, 09:41, Aris Adamantiadis wrote:
> Hi Petar,
> I agree with the principle, but I don't think this code can work...
> RSA_generate_key takes an RSA* as parameter and in our code we probably
> have key->rsa==NULL. (if we don't then the old code had a memory leak).
>
> Does the test case work ?
>
> Aris
>

Yes, you are right. This works, tested with tests/unittests/torture_pki

Signed-off-by: Petar Koretic <petar.koretic@sartura.hr>
(cherry picked from commit 0b8d24f800)
2014-03-27 11:14:25 +01:00
..
2012-03-09 18:14:13 +01:00
2014-01-07 15:18:44 +01:00
2014-01-07 15:18:44 +01:00
2014-01-07 16:09:04 +01:00
2014-01-07 16:09:04 +01:00
2014-02-04 16:04:26 +01:00
2014-01-07 16:09:04 +01:00
2011-09-18 21:37:17 +02:00
2014-01-23 11:22:22 +01:00
2014-01-07 15:18:44 +01:00
2014-01-07 15:18:44 +01:00
2013-11-18 15:10:56 +01:00
2014-01-07 16:09:04 +01:00
2011-05-01 19:42:50 +02:00
2014-01-07 15:18:44 +01:00
2012-10-09 11:09:34 +02:00
2014-01-07 14:21:15 +01:00
2014-01-07 16:09:04 +01:00
2014-02-05 22:30:10 +01:00
2014-03-12 14:16:33 +01:00
2014-01-08 22:06:38 +01:00
2014-01-07 15:18:44 +01:00