]> git.ipfire.org Git - thirdparty/krb5.git/commit
Remove a warning in AES string-to-key
authorGreg Hudson <ghudson@mit.edu>
Sat, 16 Nov 2013 04:38:15 +0000 (23:38 -0500)
committerGreg Hudson <ghudson@mit.edu>
Sat, 16 Nov 2013 04:38:15 +0000 (23:38 -0500)
commite08db4b3097e31c9fd42e870b641ad97155cab39
tree1900095dc4a7942138a51ee5b21b659c919f08e4
parent29e60c5b7ac0980606971afc6fd6028bcf0c7f0f
Remove a warning in AES string-to-key

On 32-bit platforms, the code to translate an iteration count of 0 to
2^32 can trigger a compiler warning.  Since we will basically never
accept an iteration count that high (right now we reject anything
above 2^24), just reject it out of hand.
src/lib/crypto/krb/s2k_pbkdf2.c