1
0
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:
Will Cosgrove
2018-03-30 16:24:38 -07:00
committed by GitHub
parent 54bef4c5da
commit 566d271c75

View File

@@ -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