OpenPGP: Correct parameter checking.