aboutsummaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorHans Nilsson <[email protected]>2018-06-11 10:47:12 +0200
committerHans Nilsson <[email protected]>2018-06-11 10:47:12 +0200
commit8ffb3aed580aa4e50f2aff53d266384a14882b31 (patch)
tree1fd8e9659cf3064f6cebfaa568cdd15df10ee5b7 /lib
parent1ab95725492e723997ce234114a80938c1e3e37b (diff)
parente4453359ed0c69ffaf67fb54815aa56ff29f910c (diff)
downloadotp-8ffb3aed580aa4e50f2aff53d266384a14882b31.tar.gz
otp-8ffb3aed580aa4e50f2aff53d266384a14882b31.tar.bz2
otp-8ffb3aed580aa4e50f2aff53d266384a14882b31.zip
Merge branch 'hans/public_key/dialyzer'
* hans/public_key/dialyzer: public_key: Make dialyzer happy
Diffstat (limited to 'lib')
-rw-r--r--lib/public_key/src/public_key.erl3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/public_key/src/public_key.erl b/lib/public_key/src/public_key.erl
index f2b57fd330..45dbd9bcc3 100644
--- a/lib/public_key/src/public_key.erl
+++ b/lib/public_key/src/public_key.erl
@@ -893,7 +893,8 @@ pkix_crls_validate(OtpCert, DPAndCRLs0, Options) ->
proplists:proplist()) -> boolean().
-type referenceIDs() :: [referenceID()] .
--type referenceID() :: {uri_id | dns_id | ip | srv_id | oid(), string()} .
+-type referenceID() :: {uri_id | dns_id | ip | srv_id | oid(), string()}
+ | {ip, inet:ip_address()} .
-spec pkix_verify_hostname_match_fun(high_level_alg()) -> match_fun() .