Test case for a2i_IPADDRESS
authorChristian Heimes <christian@python.org>
Sat, 15 Aug 2020 18:01:49 +0000 (20:01 +0200)
committerTomas Mraz <tomas@openssl.org>
Fri, 6 Aug 2021 10:31:24 +0000 (12:31 +0200)
commit1a9411a30b09a98498366979a1ea4898f70f6d19
tree5a74f1a8b44146ede50e9eec4032a0ef6a9bdb71
parent8b9a13b43ba3d71e441fca47a52e800ce79b3d2b
Test case for a2i_IPADDRESS

Unit test to show that a2i_IPADDRESS("1.2.3.4.test.example") ignores
trailing data.

See: https://github.com/openssl/openssl/issues/12649
See: https://bugs.python.org/issue41556
Signed-off-by: Christian Heimes <christian@python.org>
Reviewed-by: Paul Dale <pauli@openssl.org>
Reviewed-by: Tomas Mraz <tomas@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/16201)
test/x509_internal_test.c