He wasn't passing the secrets, she was. He is guilty only of being reckless, being careless, being an adulterer and being stupid. Looks like she may be guilty of being a spy.
Come on, he left the stuff in easy access for her. I think we will here more as we get more information, but as an agent of the U.S. you would think he had more training than that.