From 478e8c18443d80b5c5de9a7934372baef975bba0 Mon Sep 17 00:00:00 2001 From: Ken Raeburn Date: Wed, 19 Oct 2005 22:47:35 +0000 Subject: [PATCH] * arcfour_s2k.c (asctouni): Counter should be size_t, like len git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@17435 dc483132-0cff-0310-8789-dd5450dbe970 --- src/lib/crypto/arcfour/ChangeLog | 4 ++++ src/lib/crypto/arcfour/arcfour_s2k.c | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/src/lib/crypto/arcfour/ChangeLog b/src/lib/crypto/arcfour/ChangeLog index 8f6d3d53d..1eaac886c 100644 --- a/src/lib/crypto/arcfour/ChangeLog +++ b/src/lib/crypto/arcfour/ChangeLog @@ -1,3 +1,7 @@ +2005-10-19 Ken Raeburn + + * arcfour_s2k.c (asctouni): Counter should be size_t, like len. + 2005-07-02 Ken Raeburn * arcfour_s2k.c: Renamed from string_to_key.c. diff --git a/src/lib/crypto/arcfour/arcfour_s2k.c b/src/lib/crypto/arcfour/arcfour_s2k.c index 57a64b3e9..efa92bfb1 100644 --- a/src/lib/crypto/arcfour/arcfour_s2k.c +++ b/src/lib/crypto/arcfour/arcfour_s2k.c @@ -4,7 +4,7 @@ static void asctouni(unsigned char *unicode, unsigned char *ascii, size_t len) { - int counter; + size_t counter; for (counter=0;counter