[PATCH 5/6] update tls_connection_set_verify() tls.h comment
Glenn Strauss
gstrauss at gluelogic.com
Mon Nov 7 21:05:53 PST 2022
Signed-off-by: Glenn Strauss <gstrauss at gluelogic.com>
---
src/crypto/tls.h | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/src/crypto/tls.h b/src/crypto/tls.h
index 7a2ee32df..bac612ab5 100644
--- a/src/crypto/tls.h
+++ b/src/crypto/tls.h
@@ -353,7 +353,8 @@ int __must_check tls_global_set_verify(void *tls_ctx, int check_crl,
* tls_connection_set_verify - Set certificate verification options
* @tls_ctx: TLS context data from tls_init()
* @conn: Connection context data from tls_connection_init()
- * @verify_peer: 1 = verify peer certificate
+ * @verify_peer: 0 = do not verify peer cert, 1 = verify peer cert,
+ * 2 = optional peer cert verification (non fatal)
* @flags: Connection flags (TLS_CONN_*)
* @session_ctx: Session caching context or %NULL to use default
* @session_ctx_len: Length of @session_ctx in bytes.
--
2.38.1
More information about the Hostap
mailing list