aboutsummaryrefslogtreecommitdiffstats
path: root/lib/public_key
diff options
context:
space:
mode:
authorIngela Anderton Andin <[email protected]>2017-10-10 18:54:52 +0200
committerIngela Anderton Andin <[email protected]>2017-10-13 11:35:39 +0200
commit2c7256fdced5f48a6cd7e560542bc6d951ea3e0d (patch)
tree6f394ed898778d812a71876f6e3321e6f4bfb32e /lib/public_key
parent6703f2b42b306a3d5d8d819652e77a6124bbcc58 (diff)
downloadotp-2c7256fdced5f48a6cd7e560542bc6d951ea3e0d.tar.gz
otp-2c7256fdced5f48a6cd7e560542bc6d951ea3e0d.tar.bz2
otp-2c7256fdced5f48a6cd7e560542bc6d951ea3e0d.zip
public_key: Fix dialyzer spec
Diffstat (limited to 'lib/public_key')
-rw-r--r--lib/public_key/src/public_key.erl4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/public_key/src/public_key.erl b/lib/public_key/src/public_key.erl
index c3f2d791a3..31cb1fff3c 100644
--- a/lib/public_key/src/public_key.erl
+++ b/lib/public_key/src/public_key.erl
@@ -850,10 +850,10 @@ pkix_crls_validate(OtpCert, DPAndCRLs0, Options) ->
%--------------------------------------------------------------------
-spec pkix_verify_hostname(Cert :: #'OTPCertificate'{} | binary(),
- ReferenceIDs :: [{uri_id | dns_id | oid(), string()}]) -> boolean().
+ ReferenceIDs :: [{uri_id | dns_id | ip | srv_id | oid(), string()}]) -> boolean().
-spec pkix_verify_hostname(Cert :: #'OTPCertificate'{} | binary(),
- ReferenceIDs :: [{uri_id | dns_id | oid(), string()}],
+ ReferenceIDs :: [{uri_id | dns_id | ip | srv_id | oid(), string()}],
Options :: proplists:proplist()) -> boolean().
%% Description: Validates a hostname to RFC 6125