net-sha1 handle core for --skip-self-test. #828.  same bug as net-md5