aboutsummaryrefslogtreecommitdiffstats
path: root/lib/public_key/test/public_key_SUITE_data/verify_hostname_ip.conf
diff options
context:
space:
mode:
authorHans Nilsson <[email protected]>2017-10-11 12:35:38 +0200
committerHans Nilsson <[email protected]>2017-10-12 15:01:01 +0200
commit93534057710cef4a88f18f441fea20e733ebc253 (patch)
treee44c3879afff4567c3c975ee4f95d83698b3608a /lib/public_key/test/public_key_SUITE_data/verify_hostname_ip.conf
parentf37f9eac178836e6bcdf575fa4c72642f146de35 (diff)
downloadotp-93534057710cef4a88f18f441fea20e733ebc253.tar.gz
otp-93534057710cef4a88f18f441fea20e733ebc253.tar.bz2
otp-93534057710cef4a88f18f441fea20e733ebc253.zip
public_key: Fix bug in pkix_verify_hostname with IP addresses
An IP address could in some circomstances be converted to a list and then to_lower was applied to it. So {$A,1,1,1} was changed to {$a,1,1,1} which of course didn't match....
Diffstat (limited to 'lib/public_key/test/public_key_SUITE_data/verify_hostname_ip.conf')
-rw-r--r--lib/public_key/test/public_key_SUITE_data/verify_hostname_ip.conf3
1 files changed, 1 insertions, 2 deletions
diff --git a/lib/public_key/test/public_key_SUITE_data/verify_hostname_ip.conf b/lib/public_key/test/public_key_SUITE_data/verify_hostname_ip.conf
index 0a738f2586..798592e4f6 100644
--- a/lib/public_key/test/public_key_SUITE_data/verify_hostname_ip.conf
+++ b/lib/public_key/test/public_key_SUITE_data/verify_hostname_ip.conf
@@ -5,14 +5,13 @@ distinguished_name = DN
[DN]
C=SE
CN=example.com
-CN=5.6.7.8
[SAN]
subjectAltName = @alt_names
[alt_names]
DNS = 1.2.3.4
-IP.1 = 5.6.7.8
+IP.1 = 10.67.16.75
IP.2 = abcd:ef::1
URI = https://10.11.12.13