aboutsummaryrefslogtreecommitdiffstats
path: root/lib/public_key/src
diff options
context:
space:
mode:
authorIngela Anderton Andin <[email protected]>2017-10-10 18:54:52 +0200
committerIngela Anderton Andin <[email protected]>2017-11-09 17:14:45 +0100
commitd55f38f1d7804ffe6e9b7f7f7ee1a4d6690179ab (patch)
tree0240e6c5d2f8bb1943d2578b1233f46bba77ae6c /lib/public_key/src
parent138e63eb7eb2248ff3821d6dda4a64b0479b480c (diff)
downloadotp-d55f38f1d7804ffe6e9b7f7f7ee1a4d6690179ab.tar.gz
otp-d55f38f1d7804ffe6e9b7f7f7ee1a4d6690179ab.tar.bz2
otp-d55f38f1d7804ffe6e9b7f7f7ee1a4d6690179ab.zip
public_key: Fix dialyzer spec
Diffstat (limited to 'lib/public_key/src')
-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 cc01b61433..c1ad72b585 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