Replace a non-free implementation of SHA1 hash from RFC-3174 by a free one from RFC-6234.