mirror of
git://git.psyced.org/git/psyclpc
synced 2024-08-15 03:20:16 +00:00
unfortunately, this does not work as expected (yet)
This commit is contained in:
parent
b50fd22a63
commit
9b6ef4906d
1 changed files with 2 additions and 0 deletions
|
@ -144,6 +144,7 @@ tls_verify_callback(int preverify_ok, X509_STORE_CTX *ctx)
|
||||||
X509_NAME_oneline(X509_get_issuer_name(ctx->current_cert), buf, sizeof buf);
|
X509_NAME_oneline(X509_get_issuer_name(ctx->current_cert), buf, sizeof buf);
|
||||||
printf("depth %d: %s\n", X509_STORE_CTX_get_error_depth(ctx), buf);
|
printf("depth %d: %s\n", X509_STORE_CTX_get_error_depth(ctx), buf);
|
||||||
}
|
}
|
||||||
|
#if 0
|
||||||
if (!preverify_ok)
|
if (!preverify_ok)
|
||||||
{
|
{
|
||||||
int err;
|
int err;
|
||||||
|
@ -164,6 +165,7 @@ tls_verify_callback(int preverify_ok, X509_STORE_CTX *ctx)
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
#endif
|
||||||
return MY_TRUE;
|
return MY_TRUE;
|
||||||
} /* tls_verify_callback() */
|
} /* tls_verify_callback() */
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue