/* check if SSL want to lookup X509 certification  */
int SSL_want_x509_lookup(const SSL *ssl)
/* check if SSL want to lookup X509 certification  */
int SSL_want_x509_lookup(const SSL *ssl)
{
    SSL_ASSERT1(ssl);
    return (SSL_want(ssl) == SSL_WRITING);
}