From 54f023ac2c00f74c703e077ebec4ed2b21e5dbf7 Mon Sep 17 00:00:00 2001 From: Eric Blankenhorn Date: Fri, 1 Nov 2019 10:33:49 -0500 Subject: [PATCH] Clarify ipasc parameter usage --- src/ssl.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/ssl.c b/src/ssl.c index 786fd9c18..f2d338489 100644 --- a/src/ssl.c +++ b/src/ssl.c @@ -22997,7 +22997,8 @@ void wolfSSL_X509_VERIFY_PARAM_set_hostflags(WOLFSSL_X509_VERIFY_PARAM* param, * * param is a pointer to the X509_VERIFY_PARAM structure * ipasc is a NULL-terminated string with N.N.N.N for IPv4 and - * HH:HH ... HH:HH for IPv6. + * HH:HH ... HH:HH for IPv6. There is no validation performed on the + * parameter, and it must be an exact match with the IP in the cert. * * return 1 for success and 0 for failure*/ int wolfSSL_X509_VERIFY_PARAM_set1_ip_asc(WOLFSSL_X509_VERIFY_PARAM *param,