diff options
author | 2003-06-24 08:23:46 +0000 | |
---|---|---|
committer | 2003-06-24 08:23:46 +0000 | |
commit | 388e8bac1c8e34b6ff669b1a6376e43fc8fbaa49 (patch) | |
tree | 05b5a299fc866b7c4a2fca2ed30dfe61a045a8d6 /usr.bin/ssh/key.c | |
parent | remove unneeded checks of accept_rtadv. from kame (diff) | |
download | wireguard-openbsd-388e8bac1c8e34b6ff669b1a6376e43fc8fbaa49.tar.xz wireguard-openbsd-388e8bac1c8e34b6ff669b1a6376e43fc8fbaa49.zip |
int -> u_int; ok djm@, deraadt@, mouring@
Diffstat (limited to 'usr.bin/ssh/key.c')
-rw-r--r-- | usr.bin/ssh/key.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/usr.bin/ssh/key.c b/usr.bin/ssh/key.c index d918cfd0a3b..b101e1b271c 100644 --- a/usr.bin/ssh/key.c +++ b/usr.bin/ssh/key.c @@ -32,7 +32,7 @@ * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. */ #include "includes.h" -RCSID("$OpenBSD: key.c,v 1.52 2003/05/14 18:16:20 jakob Exp $"); +RCSID("$OpenBSD: key.c,v 1.53 2003/06/24 08:23:46 markus Exp $"); #include <openssl/evp.h> @@ -438,7 +438,7 @@ key_read(Key *ret, char **cpp) xfree(blob); return -1; } - k = key_from_blob(blob, n); + k = key_from_blob(blob, (u_int)n); xfree(blob); if (k == NULL) { error("key_read: key_from_blob %s failed", cp); @@ -674,7 +674,7 @@ key_names_valid2(const char *names) } Key * -key_from_blob(u_char *blob, int blen) +key_from_blob(u_char *blob, u_int blen) { Buffer b; char *ktype; |