diff options
author | Markus Friedl <markus@cvs.openbsd.org> | 2002-08-02 21:23:42 +0000 |
---|---|---|
committer | Markus Friedl <markus@cvs.openbsd.org> | 2002-08-02 21:23:42 +0000 |
commit | db31efcdd85a89e2883f8ac78094752ef00e7748 (patch) | |
tree | dcbc70c5b91c042759522083c41beabd55bea319 /usr.bin | |
parent | 3e4903bd6ac871af81bec9d479ba811f3165d939 (diff) |
diff is u_int (2x); ok deraadt/provos
Diffstat (limited to 'usr.bin')
-rw-r--r-- | usr.bin/ssh/ssh-rsa.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/usr.bin/ssh/ssh-rsa.c b/usr.bin/ssh/ssh-rsa.c index d6729b045ca..8271af42be6 100644 --- a/usr.bin/ssh/ssh-rsa.c +++ b/usr.bin/ssh/ssh-rsa.c @@ -23,7 +23,7 @@ */ #include "includes.h" -RCSID("$OpenBSD: ssh-rsa.c,v 1.23 2002/07/04 10:41:47 markus Exp $"); +RCSID("$OpenBSD: ssh-rsa.c,v 1.24 2002/08/02 21:23:41 markus Exp $"); #include <openssl/evp.h> #include <openssl/err.h> @@ -76,7 +76,7 @@ ssh_rsa_sign(Key *key, u_char **sigp, u_int *lenp, return -1; } if (len < slen) { - int diff = slen - len; + u_int diff = slen - len; debug("slen %u > len %u", slen, len); memmove(sig + diff, sig, len); memset(sig, 0, diff); @@ -149,7 +149,7 @@ ssh_rsa_verify(Key *key, u_char *signature, u_int signaturelen, xfree(sigblob); return -1; } else if (len < modlen) { - int diff = modlen - len; + u_int diff = modlen - len; debug("ssh_rsa_verify: add padding: modlen %u > len %u", modlen, len); sigblob = xrealloc(sigblob, modlen); |