Fix a bug in the case of Unknown Digest