cates associated with <i>ctx</i>.</p>

<p>X509_STORE_CTX_set0_untrusted() sets the internal pointer to the stack of untrusted certificates associated with <i>ctx</i> to <i>sk</i>. X509_STORE_CTX_verify() will take the first element, if any, as its default target if the target certificate is not set explicitly.</p>

<p>X509_STORE_CTX_get_num_untrusted() returns the number of untrusted certificates that were used in building the chain. This is can be used after calling <a href="../man3/X509_verify_cert.html">