hash.c: Fix integer division error.
Makefile: Need to link against libcrypto for SHA1