Use libgcrypt instead of libgnutls for SHA1 hashing