]> git.ozlabs.org Git - tonyb-yaboot.git/blobdiff - include/md5.h
warnings: Add explict casts to silence many compiler warnings about sign comparisions.
[tonyb-yaboot.git] / include / md5.h
index c1dbd060740b444f8d203dc9d2648dee37b278e8..82cc91e55a9ce8527457e88e85bd8452090813e2 100644 (file)
@@ -23,7 +23,7 @@
    to strcmp.
    If CHECK is false, crypt KEY and save the result in CRYPTED.
    CRYPTED must have a salt.  */
-extern int md5_password (const char *key, char *crypted, int check);
+extern int md5_password (const unsigned char *key, unsigned char *crypted, int check);
 
 /* For convenience.  */
 #define check_md5_password(key,crypted)        md5_password((key), (crypted), 1)