Test case for a2i_IPADDRESS
authorChristian Heimes <christian@python.org>
Sat, 15 Aug 2020 18:01:49 +0000 (20:01 +0200)
committerHugo Landau <hlandau@openssl.org>
Mon, 25 Jul 2022 06:33:21 +0000 (07:33 +0100)
commitbd41b84bede84c1a5716be4eafddd1dd052faa72
tree7bfb39d0db30e25d9a7092bbf88dccd856673347
parent65e30e7d56f01008d29e65c9ae7a42ce074def2f
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

(cherry picked from commit 1a9411a30b09a98498366979a1ea4898f70f6d19)

Reviewed-by: Tomas Mraz <tomas@openssl.org>
Reviewed-by: Dmitry Belyavskiy <beldmit@gmail.com>
Reviewed-by: Hugo Landau <hlandau@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/18847)
test/x509_internal_test.c