diff options
author | Ingela Anderton Andin <[email protected]> | 2014-01-28 14:57:35 +0100 |
---|---|---|
committer | Ingela Anderton Andin <[email protected]> | 2014-01-28 14:57:35 +0100 |
commit | 9ec3ad0d292a5b89a332cb24ed2246a3bfdf9443 (patch) | |
tree | 0e6aa74c6bc9906a442a1c4569657861bf570859 /lib/ssl | |
parent | 4e07b3f6989fd28b65a1ac04c2ae1c6a8dae6ff2 (diff) | |
parent | f98905ad6f76fda775c0c75c410adbd9dd642916 (diff) | |
download | otp-9ec3ad0d292a5b89a332cb24ed2246a3bfdf9443.tar.gz otp-9ec3ad0d292a5b89a332cb24ed2246a3bfdf9443.tar.bz2 otp-9ec3ad0d292a5b89a332cb24ed2246a3bfdf9443.zip |
Merge branch 'ia/tuncer/dialyzer-fixes/OTP-11627'
* ia/tuncer/dialyzer-fixes/OTP-11627:
Fix incorrect type reference (inet:ipaddress() -> inet:ip_address())
Consistently format public_key(3)
Fix incorrect use of public_key:private_key/0 type
Fix incorrect proplists type reference
Diffstat (limited to 'lib/ssl')
-rw-r--r-- | lib/ssl/src/ssl_connection.hrl | 2 | ||||
-rw-r--r-- | lib/ssl/src/ssl_handshake.erl | 6 | ||||
-rw-r--r-- | lib/ssl/src/ssl_internal.hrl | 1 |
3 files changed, 4 insertions, 5 deletions
diff --git a/lib/ssl/src/ssl_connection.hrl b/lib/ssl/src/ssl_connection.hrl index 27489ca325..adb2e1debe 100644 --- a/lib/ssl/src/ssl_connection.hrl +++ b/lib/ssl/src/ssl_connection.hrl @@ -41,7 +41,7 @@ data_tag :: atom(), % ex tcp. close_tag :: atom(), % ex tcp_closed error_tag :: atom(), % ex tcp_error - host :: string() | inet:ipaddress(), + host :: string() | inet:ip_address(), port :: integer(), socket :: port(), ssl_options :: #ssl_options{}, diff --git a/lib/ssl/src/ssl_handshake.erl b/lib/ssl/src/ssl_handshake.erl index 487dfc01d9..7b4cf8eb06 100644 --- a/lib/ssl/src/ssl_handshake.erl +++ b/lib/ssl/src/ssl_handshake.erl @@ -164,7 +164,7 @@ next_protocol(SelectedProtocol) -> %%-------------------------------------------------------------------- -spec client_certificate_verify(undefined | der_cert(), binary(), - tls_version(), term(), private_key(), + tls_version(), term(), public_key:private_key(), tls_handshake_history()) -> #certificate_verify{} | ignore | #alert{}. %% @@ -207,12 +207,12 @@ certificate_request(CipherSuite, CertDbHandle, CertDbRef, Version) -> {premaster_secret, binary(), public_key_info()} | {dh, binary()} | {dh, {binary(), binary()}, #'DHParameter'{}, {HashAlgo::atom(), SignAlgo::atom()}, - binary(), binary(), private_key()} | + binary(), binary(), public_key:private_key()} | {ecdh, #'ECPrivateKey'{}} | {psk, binary()} | {dhe_psk, binary(), binary()} | {srp, {binary(), binary()}, #srp_user{}, {HashAlgo::atom(), SignAlgo::atom()}, - binary(), binary(), private_key()}) -> + binary(), binary(), public_key:private_key()}) -> #client_key_exchange{} | #server_key_exchange{}. %% diff --git a/lib/ssl/src/ssl_internal.hrl b/lib/ssl/src/ssl_internal.hrl index 5a823ec8a4..102215119d 100644 --- a/lib/ssl/src/ssl_internal.hrl +++ b/lib/ssl/src/ssl_internal.hrl @@ -35,7 +35,6 @@ -type certdb_ref() :: reference(). -type db_handle() :: term(). -type der_cert() :: binary(). --type private_key() :: #'RSAPrivateKey'{} | #'DSAPrivateKey'{} | #'ECPrivateKey'{}. -type issuer() :: tuple(). -type serialnumber() :: integer(). -type cert_key() :: {reference(), integer(), issuer()}. |