X509: simplify revised validation logic and add to CRL validation
X509: simplify revised validation logic and add to CRL validation

danog/phpseclib,phpseclib/phpseclib,terrafrost/phpseclib,danog/phpseclib