summaryrefslogtreecommitdiffstats
path: root/include/libssh/libsshpp.hpp
diff options
context:
space:
mode:
authorPetar Koretic <petar.koretic@sartura.hr>2014-03-16 10:20:44 +0000
committerAndreas Schneider <asn@cryptomilk.org>2014-03-27 11:14:25 +0100
commitfdced9d5441c80fd07ff5c20394f35cc0cb7976b (patch)
treef475fb18b2cfa81733d810b1cca3fc999390be64 /include/libssh/libsshpp.hpp
parent96db44ff171ab9d07207afe59cd9fbaff59a1d2c (diff)
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 0b8d24f800bae5f4f86c0eaca41c609f40d7baef)
Diffstat (limited to 'include/libssh/libsshpp.hpp')
0 files changed, 0 insertions, 0 deletions