]> git.ipfire.org Git - thirdparty/openssl.git/commitdiff
Clarify flags argument of X509_check_ip
authorTobias Nießen <tniessen@tnie.de>
Mon, 17 Jan 2022 15:31:39 +0000 (15:31 +0000)
committerTomas Mraz <tomas@openssl.org>
Thu, 20 Jan 2022 10:16:10 +0000 (11:16 +0100)
Because no supported flag affects the behavior of X509_check_ip, the
flags argument currently has no effect.

Reviewed-by: Paul Dale <pauli@openssl.org>
Reviewed-by: Tomas Mraz <tomas@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/17536)

doc/man3/X509_check_host.pod

index 9002fb22e61d6f1796f5ad8f244fddc8fefeeb14..1edf725a51bf3177cf6a7e381ee6fe1e8c40c6f0 100644 (file)
@@ -62,7 +62,8 @@ X509_check_ip() checks if the certificate matches a specified IPv4 or
 IPv6 address.  The B<address> array is in binary format, in network
 byte order.  The length is either 4 (IPv4) or 16 (IPv6).  Only
 explicitly marked addresses in the certificates are considered; IP
-addresses stored in DNS names and Common Names are ignored.
+addresses stored in DNS names and Common Names are ignored. There are
+currently no B<flags> that would affect the behavior of this call.
 
 X509_check_ip_asc() is similar, except that the NUL-terminated
 string B<address> is first converted to the internal representation.