diff options
author | Ingela Anderton Andin <[email protected]> | 2014-05-28 11:30:18 +0200 |
---|---|---|
committer | Ingela Anderton Andin <[email protected]> | 2014-05-28 11:30:18 +0200 |
commit | 3bfc1269e543941bd59567da6c3007319b5ada25 (patch) | |
tree | 8660c2f227e2c1c1d9cb4f3eefa21a0c462c9a5d /lib/ssl/src/ssl_cipher.erl | |
parent | 54ba6869f4807a5b70868eb0204900d9de0d9f43 (diff) | |
download | otp-3bfc1269e543941bd59567da6c3007319b5ada25.tar.gz otp-3bfc1269e543941bd59567da6c3007319b5ada25.tar.bz2 otp-3bfc1269e543941bd59567da6c3007319b5ada25.zip |
ssl: Filter default ciphers for supported Crypto algorihms
Diffstat (limited to 'lib/ssl/src/ssl_cipher.erl')
-rw-r--r-- | lib/ssl/src/ssl_cipher.erl | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/lib/ssl/src/ssl_cipher.erl b/lib/ssl/src/ssl_cipher.erl index a3ec419c2a..72467ea2a0 100644 --- a/lib/ssl/src/ssl_cipher.erl +++ b/lib/ssl/src/ssl_cipher.erl @@ -1019,7 +1019,8 @@ openssl_suite_name(Cipher) -> %%-------------------------------------------------------------------- -spec filter(undefined | binary(), [cipher_suite()]) -> [cipher_suite()]. %% -%% Description: . +%% Description: Select the cipher suites that can be used together with the +%% supplied certificate. (Server side functionality) %%------------------------------------------------------------------- filter(undefined, Ciphers) -> Ciphers; @@ -1053,7 +1054,7 @@ filter(DerCert, Ciphers) -> %%-------------------------------------------------------------------- -spec filter_suites([cipher_suite()]) -> [cipher_suite()]. %% -%% Description: filter suites for algorithms +%% Description: Filter suites for algorithms supported by crypto. %%------------------------------------------------------------------- filter_suites(Suites = [{_,_,_}|_]) -> Algos = crypto:supports(), |