summaryrefslogtreecommitdiff
path: root/pgp-encode.c
diff options
context:
space:
mode:
authorNiels Möller <nisse@lysator.liu.se>2002-11-15 09:06:40 +0100
committerNiels Möller <nisse@lysator.liu.se>2002-11-15 09:06:40 +0100
commit75fa6750e109e9c8d33195e8ae302d0b1b979bdf (patch)
tree2153fb3ec430c964bb58e9e6552c412d7a1ce0dc /pgp-encode.c
parentd33e5b416ff979ff5263e351bb6df48e543f7f15 (diff)
downloadnettle-75fa6750e109e9c8d33195e8ae302d0b1b979bdf.tar.gz
* bignum.c (nettle_mpz_sizeinbase_256_u): New name, was
nettle_mpz_sizeinbase_256. Updated all callers. Rev: src/nettle/bignum-random.c:1.2 Rev: src/nettle/dsa-keygen.c:1.4 Rev: src/nettle/dsa.c:1.3 Rev: src/nettle/pgp-encode.c:1.3 Rev: src/nettle/rsa-compat.c:1.5 Rev: src/nettle/rsa-encrypt.c:1.3 Rev: src/nettle/rsa_md5.c:1.7 Rev: src/nettle/rsa_sha1.c:1.7
Diffstat (limited to 'pgp-encode.c')
-rw-r--r--pgp-encode.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/pgp-encode.c b/pgp-encode.c
index 297f20b5..744326ef 100644
--- a/pgp-encode.c
+++ b/pgp-encode.c
@@ -72,7 +72,7 @@ pgp_put_mpi(struct nettle_buffer *buffer, mpz_t x)
if (!p)
return 0;
- nettle_mpz_set_str_256(x, octets, p);
+ nettle_mpz_set_str_256_u(x, octets, p);
return 1;
}