Commit f3848a07 authored by Niels Möller's avatar Niels Möller

(rsa_keypair_to_sexp): %s -> %z renaming.

Rev: src/nettle/rsa2sexp.c:1.3
parent 38f1828d
...@@ -39,13 +39,13 @@ rsa_keypair_to_sexp(struct nettle_buffer *buffer, ...@@ -39,13 +39,13 @@ rsa_keypair_to_sexp(struct nettle_buffer *buffer,
{ {
if (priv) if (priv)
return sexp_format(buffer, return sexp_format(buffer,
"(%s(%s(%s%b)(%s%b)(%s%b)" "(%z(%z(%z%b)(%z%b)(%z%b)"
"(%s%b)(%s%b)(%s%b)(%s%b)(%s%b)))", "(%z%b)(%z%b)(%z%b)(%z%b)(%z%b)))",
"private-key", "rsa", "n", pub->n, "e", pub->e, "private-key", "rsa", "n", pub->n, "e", pub->e,
"d", priv->d, "p", priv->p, "q", priv->q, "d", priv->d, "p", priv->p, "q", priv->q,
"a", priv->a, "b", priv->b, "c", priv->c); "a", priv->a, "b", priv->b, "c", priv->c);
else else
return sexp_format(buffer, "(%s(%s(%s%b)(%s%b)))", return sexp_format(buffer, "(%z(%z(%z%b)(%z%b)))",
"public-key", "rsa", "n", pub->n, "e", pub->e); "public-key", "rsa", "n", pub->n, "e", pub->e);
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment