summaryrefslogtreecommitdiff
path: root/rsa-pkcs1-sign.c
diff options
context:
space:
mode:
authorNiels Möller <nisse@lysator.liu.se>2013-04-26 14:39:27 +0200
committerNiels Möller <nisse@lysator.liu.se>2013-04-26 14:39:27 +0200
commita78265874b34c2885ceb32e839698b2a892b274e (patch)
tree7e0e4c2ab7e4911c8801bfbaae684687ecf1e1e0 /rsa-pkcs1-sign.c
parent64bb6b36b0b12873a9ad93b77bc006f6fd7a70da (diff)
downloadnettle-a78265874b34c2885ceb32e839698b2a892b274e.tar.gz
Use size_t for bignums, rsa and dsa.
Diffstat (limited to 'rsa-pkcs1-sign.c')
-rw-r--r--rsa-pkcs1-sign.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/rsa-pkcs1-sign.c b/rsa-pkcs1-sign.c
index 9162cfcb..5ca9b2f9 100644
--- a/rsa-pkcs1-sign.c
+++ b/rsa-pkcs1-sign.c
@@ -33,7 +33,7 @@
int
rsa_pkcs1_sign(const struct rsa_private_key *key,
- unsigned length, const uint8_t *digest_info,
+ size_t length, const uint8_t *digest_info,
mpz_t s)
{
if (pkcs1_rsa_digest_encode (s, key->size, length, digest_info))