diff options
author | Ingela Anderton Andin <[email protected]> | 2014-03-21 15:16:57 +0100 |
---|---|---|
committer | Ingela Anderton Andin <[email protected]> | 2014-03-25 16:17:05 +0100 |
commit | 8af48b0b2c168ab096dec7d6efae1661d40968fc (patch) | |
tree | 9f7e9a8e501fd9340cb4c529a6df65221f9010d9 /lib/ssl/src/tls_v1.erl | |
parent | c635f15d22802f7ff18fd1ce9197b2cc760979ef (diff) | |
download | otp-8af48b0b2c168ab096dec7d6efae1661d40968fc.tar.gz otp-8af48b0b2c168ab096dec7d6efae1661d40968fc.tar.bz2 otp-8af48b0b2c168ab096dec7d6efae1661d40968fc.zip |
ssl: Improve type specs
Conflicts:
lib/ssl/src/dtls_record.erl
Diffstat (limited to 'lib/ssl/src/tls_v1.erl')
-rw-r--r-- | lib/ssl/src/tls_v1.erl | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/ssl/src/tls_v1.erl b/lib/ssl/src/tls_v1.erl index 7b1f53b969..067417d163 100644 --- a/lib/ssl/src/tls_v1.erl +++ b/lib/ssl/src/tls_v1.erl @@ -166,7 +166,7 @@ setup_keys(Version, PrfAlgo, MasterSecret, ServerRandom, ClientRandom, HashSize, {ClientWriteMacSecret, ServerWriteMacSecret, ClientWriteKey, ServerWriteKey, ClientIV, ServerIV}. --spec mac_hash(integer(), binary(), integer(), integer(), tls_version(), +-spec mac_hash(integer(), binary(), integer(), integer(), tls_record:tls_version(), integer(), binary()) -> binary(). mac_hash(Method, Mac_write_secret, Seq_num, Type, {Major, Minor}, @@ -181,7 +181,7 @@ mac_hash(Method, Mac_write_secret, Seq_num, Type, {Major, Minor}, Fragment]), Mac. --spec suites(1|2|3) -> [cipher_suite()]. +-spec suites(1|2|3) -> [ssl_cipher:cipher_suite()]. suites(Minor) when Minor == 1; Minor == 2-> case sufficent_ec_support() of |