summaryrefslogtreecommitdiffstats
path: root/ssl
diff options
context:
space:
mode:
authorBodo Möller <bodo@openssl.org>1999-08-08 16:07:30 +0200
committerBodo Möller <bodo@openssl.org>1999-08-08 16:07:30 +0200
commit5e6369197282df109556ba59c98d86144bfa2111 (patch)
treededbef429cce85b9406efee9160cc4d3a26c9529 /ssl
parentmore consistent formatting (diff)
downloadopenssl-5e6369197282df109556ba59c98d86144bfa2111.tar.xz
openssl-5e6369197282df109556ba59c98d86144bfa2111.zip
add comments
Diffstat (limited to 'ssl')
-rw-r--r--ssl/ssl.h2
-rw-r--r--ssl/ssl_lib.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/ssl/ssl.h b/ssl/ssl.h
index f247d941c3..498cd9faba 100644
--- a/ssl/ssl.h
+++ b/ssl/ssl.h
@@ -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;
diff --git a/ssl/ssl_lib.c b/ssl/ssl_lib.c
index e8b1f74769..d99c7d943c 100644
--- a/ssl/ssl_lib.c
+++ b/ssl/ssl_lib.c
@@ -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 *))