Can’t happen. In the case of warrantless wiretaps, or any crime for that matter, the leaker is protected by whistleblower laws. You can’t be compelled to keep a crime a secret, that would make you an accessory.
Two points contradict your position.
1.) There. Was. No. Crime. NONE.
2.) “Whistle blowing” does not compel one to turn first to the New York Times, especially if the material is classified. The correct thing to do is work within the chain of command, the inspector-general, if the chain of command is ineffective. If this fails, an ethical person would *resign* before divulging any classified information. There is not evidence that the “whistle blower” ever tried to work within the chain of command. He was just a little shit stroking his own ego by playing hero.