From 20527d9688938afee5bf9695e44d528074d1085a Mon Sep 17 00:00:00 2001 From: Simon Josefsson Date: Fri, 2 Feb 2007 11:18:34 +0000 Subject: [PATCH] Mind your p's and q's! RSA authentication now works. --- src/libgcrypt.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/libgcrypt.c b/src/libgcrypt.c index 04166256..c1304a2b 100644 --- a/src/libgcrypt.c +++ b/src/libgcrypt.c @@ -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 {