mirror of
https://github.com/openssl/openssl.git
synced 2024-11-26 03:24:02 +08:00
add comments
This commit is contained in:
parent
a9642be663
commit
5e63691972
@ -413,7 +413,7 @@ struct ssl_ctx_st
|
||||
|
||||
/* if defined, these override the X509_verify_cert() calls */
|
||||
/**/ int (*app_verify_callback)();
|
||||
/**/ char *app_verify_arg;
|
||||
/**/ char *app_verify_arg; /* never used */
|
||||
|
||||
/* default values to use in SSL structures */
|
||||
/**/ struct cert_st /* CERT */ *cert;
|
||||
|
@ -1143,7 +1143,7 @@ void SSL_CTX_set_default_passwd_cb_userdata(SSL_CTX *ctx,void *u)
|
||||
void SSL_CTX_set_cert_verify_callback(SSL_CTX *ctx,int (*cb)(),char *arg)
|
||||
{
|
||||
ctx->app_verify_callback=cb;
|
||||
ctx->app_verify_arg=arg;
|
||||
ctx->app_verify_arg=arg; /* never used */
|
||||
}
|
||||
|
||||
void SSL_CTX_set_verify(SSL_CTX *ctx,int mode,int (*cb)(int, X509_STORE_CTX *))
|
||||
|
Loading…
Reference in New Issue
Block a user