summaryrefslogtreecommitdiff
path: root/lib/ssl/src/ssl_certificate.erl
diff options
context:
space:
mode:
authorIngela Anderton Andin <ingela@erlang.org>2015-03-10 15:40:37 +0100
committerIngela Anderton Andin <ingela@erlang.org>2015-03-11 17:39:16 +0100
commitb65d8b7ba72a42cfe5df28577433e553d2c0f4ca (patch)
tree97e7af02625c606c482c0b3a464c92484d0edc02 /lib/ssl/src/ssl_certificate.erl
parentad771692fec71f2929bdc715cc44ca24757c75f3 (diff)
downloaderlang-b65d8b7ba72a42cfe5df28577433e553d2c0f4ca.tar.gz
ssl: Dialyzer fixes
Diffstat (limited to 'lib/ssl/src/ssl_certificate.erl')
-rw-r--r--lib/ssl/src/ssl_certificate.erl2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/ssl/src/ssl_certificate.erl b/lib/ssl/src/ssl_certificate.erl
index 764bd82de0..34e4a8b447 100644
--- a/lib/ssl/src/ssl_certificate.erl
+++ b/lib/ssl/src/ssl_certificate.erl
@@ -84,7 +84,7 @@ trusted_cert_and_path(CertChain, CertDbHandle, CertDbRef, PartialChainHandler) -
end.
%%--------------------------------------------------------------------
--spec certificate_chain(undefined | binary(), db_handle(), certdb_ref()) ->
+-spec certificate_chain(undefined | binary() | #'OTPCertificate'{} , db_handle(), certdb_ref()) ->
{error, no_cert} | {ok, #'OTPCertificate'{} | undefined, [der_cert()]}.
%%
%% Description: Return the certificate chain to send to peer.