diff options
author | Ingela Anderton Andin <[email protected]> | 2010-09-15 14:34:58 +0200 |
---|---|---|
committer | Ingela Anderton Andin <[email protected]> | 2010-09-15 14:34:58 +0200 |
commit | 6a933540f24e76c05cc652acbf2aa92b9ab76d58 (patch) | |
tree | 09109c4569002173d90faf5134bf3f9e9a0ed174 /lib/ssl/src/ssl_certificate.erl | |
parent | 3f336f1b6f2854618146e882b04e8cbc50d1111e (diff) | |
download | otp-6a933540f24e76c05cc652acbf2aa92b9ab76d58.tar.gz otp-6a933540f24e76c05cc652acbf2aa92b9ab76d58.tar.bz2 otp-6a933540f24e76c05cc652acbf2aa92b9ab76d58.zip |
Corrected and added dialyzer specs
Diffstat (limited to 'lib/ssl/src/ssl_certificate.erl')
-rw-r--r-- | lib/ssl/src/ssl_certificate.erl | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/lib/ssl/src/ssl_certificate.erl b/lib/ssl/src/ssl_certificate.erl index 206024315e..d2ab21657c 100644 --- a/lib/ssl/src/ssl_certificate.erl +++ b/lib/ssl/src/ssl_certificate.erl @@ -110,9 +110,10 @@ file_to_certificats(File) -> {ok, List} = ssl_manager:cache_pem_file(File), [Bin || {'Certificate', Bin, not_encrypted} <- List]. %%-------------------------------------------------------------------- --spec validate_extension(term(), #'Extension'{}, term()) -> {valid, term()} | - {fail, tuple()} | - {unknown, term()}. +-spec validate_extension(term(), #'Extension'{} | {bad_cert, atom()} | valid, + term()) -> {valid, term()} | + {fail, tuple()} | + {unknown, term()}. %% %% Description: Validates ssl/tls specific extensions %%-------------------------------------------------------------------- |