fix sha1 for libsqlite