Fix sha1 setting