Mind your p's and q's! RSA authentication now works.
This commit is contained in:
parent
09ee2d4086
commit
20527d9688
@ -65,7 +65,7 @@ int _libssh2_rsa_new(libssh2_rsa_ctx **rsa,
|
||||
if (ddata) {
|
||||
rc = gcry_sexp_build
|
||||
(rsa, NULL,
|
||||
"(private-key(rsa(n%b)(e%b)(d%b)(p%b)(q%b)(u%b)))",
|
||||
"(private-key(rsa(n%b)(e%b)(d%b)(q%b)(p%b)(u%b)))",
|
||||
nlen, ndata, elen, edata, dlen, ddata, plen, pdata,
|
||||
qlen, qdata, coefflen, coeffdata);
|
||||
} else {
|
||||
|
Loading…
x
Reference in New Issue
Block a user