Remove unnecessary global const variables
Update configure.ac (still unused though)
Replace openssl SHA1 functions with custom version