If you had evidence of a clear crime, you would probably end up in jail, as would whoever covered it up. In particular, wrecking the chain of evidence would cause some problems.
That's not what happened here. He published a lot of secrets, most of which did not relate to crimes, and clearly did not own the material and colluded to get it.
This is why he is in jail.