mirror of
https://github.com/libssh2/libssh2.git
synced 2025-11-20 02:42:09 +03:00
Fix for _libssh2_rsa_new with OpenSSL 1.0.x
missing d value assignment.
This commit is contained in:
@@ -126,6 +126,7 @@ _libssh2_rsa_new(libssh2_rsa_ctx ** rsa,
|
|||||||
#else
|
#else
|
||||||
(*rsa)->e = e;
|
(*rsa)->e = e;
|
||||||
(*rsa)->n = n;
|
(*rsa)->n = n;
|
||||||
|
(*rsa)->d = d;
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifdef HAVE_OPAQUE_STRUCTS
|
#ifdef HAVE_OPAQUE_STRUCTS
|
||||||
|
|||||||
Reference in New Issue
Block a user