Improve valid() in krb5pa formats.
Merge branch 'bleeding-jumbo' into memdbg

* bleeding-jumbo:
  Improve valid() in krb5pa formats.