ciated with the current certificate of <b>ctx</b>.</p>

<p>SSL_CTX_get0_chain_certs() retrieves the chain associated with the current certificate of <b>ctx</b>.</p>

<p>SSL_CTX_clear_chain_certs() clears any existing chain associated with the current certificate of <b>ctx</b>. (This is implemented by calling SSL_CTX_set0_chain() with <b>sk</b> set to <b>NULL</b>).</p>

<p>SSL_CTX_build_cert_chain() builds the certificate chain for <b>ctx</b>. Normally this uses the chain store or the verify store if the cha