aboutsummaryrefslogtreecommitdiffstats
path: root/lib/ssl
diff options
context:
space:
mode:
authorIngela Anderton Andin <[email protected]>2014-01-29 16:32:14 +0100
committerIngela Anderton Andin <[email protected]>2014-02-06 14:43:07 +0100
commit8588180dce9aa7fffbba8c580d67e857796c6e5d (patch)
tree5c2b1e1a089d3b2661fe38bd9c9a3b3c3f2268df /lib/ssl
parent9171d1886015e4d36601ed360f6d479a5a95abab (diff)
downloadotp-8588180dce9aa7fffbba8c580d67e857796c6e5d.tar.gz
otp-8588180dce9aa7fffbba8c580d67e857796c6e5d.tar.bz2
otp-8588180dce9aa7fffbba8c580d67e857796c6e5d.zip
public_key: Export some dialyzer types
Move dilayzer types from include file to erl file and use -export_type
Diffstat (limited to 'lib/ssl')
-rw-r--r--lib/ssl/src/ssl_internal.hrl10
1 files changed, 5 insertions, 5 deletions
diff --git a/lib/ssl/src/ssl_internal.hrl b/lib/ssl/src/ssl_internal.hrl
index 102215119d..64b89e9f95 100644
--- a/lib/ssl/src/ssl_internal.hrl
+++ b/lib/ssl/src/ssl_internal.hrl
@@ -1,7 +1,7 @@
%%
%% %CopyrightBegin%
%%
-%% Copyright Ericsson AB 2007-2013. All Rights Reserved.
+%% Copyright Ericsson AB 2007-2014. All Rights Reserved.
%%
%% The contents of this file are subject to the Erlang Public License,
%% Version 1.1, (the "License"); you may not use this file except in
@@ -82,13 +82,13 @@
validate_extensions_fun,
depth :: integer(),
certfile :: binary(),
- cert :: der_encoded(),
+ cert :: public_key:der_encoded(),
keyfile :: binary(),
- key :: {'RSAPrivateKey' | 'DSAPrivateKey' | 'ECPrivateKey' | 'PrivateKeyInfo', der_encoded()},
+ key :: {'RSAPrivateKey' | 'DSAPrivateKey' | 'ECPrivateKey' | 'PrivateKeyInfo', public_key:der_encoded()},
password :: string(),
- cacerts :: [der_encoded()],
+ cacerts :: [public_key:der_encoded()],
cacertfile :: binary(),
- dh :: der_encoded(),
+ dh :: public_key:der_encoded(),
dhfile :: binary(),
user_lookup_fun, % server option, fun to lookup the user
psk_identity :: binary(),