g10: detects public key encryption packet error properly.