aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHans Nilsson <[email protected]>2018-06-08 17:18:09 +0200
committerHans Nilsson <[email protected]>2018-06-08 17:18:09 +0200
commite4453359ed0c69ffaf67fb54815aa56ff29f910c (patch)
tree39f09bf7e1b8554af7fd0867fcb448336407ba3e
parent9ee83cf9c8d5b322e5361ebc067c00222c0c56ae (diff)
downloadotp-e4453359ed0c69ffaf67fb54815aa56ff29f910c.tar.gz
otp-e4453359ed0c69ffaf67fb54815aa56ff29f910c.tar.bz2
otp-e4453359ed0c69ffaf67fb54815aa56ff29f910c.zip
public_key: Make dialyzer happy
-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() .