Mind your p's and q's! RSA authentication now works.

This commit is contained in:
Simon Josefsson 2007-02-02 11:18:34 +00:00
parent 09ee2d4086
commit 20527d9688

View File

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