From: Ken Raeburn Date: Wed, 19 Oct 2005 22:47:35 +0000 (+0000) Subject: * arcfour_s2k.c (asctouni): Counter should be size_t, like len X-Git-Tag: ms-bug-test-20060525~104 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=478e8c18443d80b5c5de9a7934372baef975bba0;p=thirdparty%2Fkrb5.git * 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 --- diff --git a/src/lib/crypto/arcfour/ChangeLog b/src/lib/crypto/arcfour/ChangeLog index 8f6d3d53d4..1eaac886c5 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 57a64b3e94..efa92bfb11 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