At 2016-10-22 21:29:59, "yuan lixin" wrote:
The function "onSslServerTrustPrompt" is part of libsvncpp,
i put a few of it,the whole code is below:
/**
* @see svn_auth_ssl_server_trust_prompt_func_t
*/
static svn_error_t *
onSslServerTrustPrompt(svn_auth_cred_ssl_server_trust_
yuan lixin wrote on Sat, Oct 22, 2016 at 20:26:42 +0800:
> static svn_error_t *
> onSslServerTrustPrompt(svn_auth_cred_ssl_server_trust_t **cred,
>void *baton,
>const char *realm,
>apr_uint32_t failures,
Thank you all. the issue of ignoring server invaild certificate is solved.
this is my code :
[...]
apr_array_header_t *providers =
apr_array_make(pool, 8, sizeof(svn_auth_provider_object_t *));
svn_auth_provider_object_t *provider;
[...]
svn_client_get_ssl_server_trust_