diff mbox series

[5/6] update tls_connection_set_verify() tls.h comment

Message ID 20221108050554.43345-5-gstrauss@gluelogic.com
State Accepted
Headers show
Series [1/6] tests/hwsim: check_imsi_support helper func | expand

Commit Message

Glenn Strauss Nov. 8, 2022, 5:05 a.m. UTC
Signed-off-by: Glenn Strauss <gstrauss@gluelogic.com>
---
 src/crypto/tls.h | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
diff mbox series

Patch

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.