3 * Copyright (C) 1988-1998 by the Massachusetts Institute of Technology.
4 * For copying and distribution information, please see the file
8 #include <mit-copyright.h>
10 #include "update_server.h"
18 * returns 24-bit checksum of bytes in file
21 long checksum_file(char *path)
29 while ((ch = getc(f)) != EOF)
30 sum = (sum + ch) & ((1 << 24) - 1);