patched crypto/x509