Another patch for X509 validation