A new user interface for you! Read more...

File 1244-public_key-Make-dialyzer-happy.patch of Package erlang

From e4453359ed0c69ffaf67fb54815aa56ff29f910c Mon Sep 17 00:00:00 2001
From: Hans Nilsson <hans@erlang.org>
Date: Fri, 8 Jun 2018 17:18:09 +0200
Subject: [PATCH] public_key: Make dialyzer happy

---
 lib/public_key/src/public_key.erl | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

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() .
 
-- 
2.16.4