ror would not
     * be found explicitly; only errors introduced by cutting off the
     * additional certificates would be logged.
     */
    if (depth &gt; mydata-&gt;verify_depth) {
        preverify_ok = 0;
        err = X509_V_ERR_CERT_CHAIN_TOO_LONG;
        X509_STORE_CTX_set_error(ctx, err);
    }
    if (!preverify_ok) {
        printf(&quot;verify error:num=%d:%s:depth=%d:%s\n&quot;, err,
               X509_verify_cert_error_string(err), depth, buf);
    } else if (mydata-&gt;verbose_mode) {
   