Fix for cgi crash if no hash function currently selected