add comments

This commit is contained in:
Bodo Möller 1999-08-08 14:07:30 +00:00
parent a9642be663
commit 5e63691972
2 changed files with 2 additions and 2 deletions

View File

@ -413,7 +413,7 @@ struct ssl_ctx_st
/* if defined, these override the X509_verify_cert() calls */ /* if defined, these override the X509_verify_cert() calls */
/**/ int (*app_verify_callback)(); /**/ int (*app_verify_callback)();
/**/ char *app_verify_arg; /**/ char *app_verify_arg; /* never used */
/* default values to use in SSL structures */ /* default values to use in SSL structures */
/**/ struct cert_st /* CERT */ *cert; /**/ struct cert_st /* CERT */ *cert;

View File

@ -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) void SSL_CTX_set_cert_verify_callback(SSL_CTX *ctx,int (*cb)(),char *arg)
{ {
ctx->app_verify_callback=cb; 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 *)) void SSL_CTX_set_verify(SSL_CTX *ctx,int mode,int (*cb)(int, X509_STORE_CTX *))