diff options
author | Ingela Anderton Andin <[email protected]> | 2017-10-13 11:53:17 +0200 |
---|---|---|
committer | Ingela Anderton Andin <[email protected]> | 2017-10-13 11:53:17 +0200 |
commit | 73f84b3df40f49df6a99d72696cd34b42020774b (patch) | |
tree | bc9a0ec410d3528d8d7e91ee08a447c00848c98d /lib/ssl/src/ssl.erl | |
parent | 4c9acce498df83106fb6b36e70386d3468673ce9 (diff) | |
parent | ddbf02af2391710921a73c2144a4c9f0a369a35c (diff) | |
download | otp-73f84b3df40f49df6a99d72696cd34b42020774b.tar.gz otp-73f84b3df40f49df6a99d72696cd34b42020774b.tar.bz2 otp-73f84b3df40f49df6a99d72696cd34b42020774b.zip |
Merge branch 'ingela/ssl/remove-deprcated-string' into maint
* ingela/ssl/remove-deprcated-string:
ssl: Use new string functions
Diffstat (limited to 'lib/ssl/src/ssl.erl')
-rw-r--r-- | lib/ssl/src/ssl.erl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/ssl/src/ssl.erl b/lib/ssl/src/ssl.erl index 4e592c02ec..62da498e76 100644 --- a/lib/ssl/src/ssl.erl +++ b/lib/ssl/src/ssl.erl @@ -1205,7 +1205,7 @@ binary_cipher_suites(Version, [Head | _] = Ciphers0) when is_list(Head) -> binary_cipher_suites(Version, Ciphers); binary_cipher_suites(Version, Ciphers0) -> %% Format: "RC4-SHA:RC4-MD5" - Ciphers = [ssl_cipher:openssl_suite(C) || C <- string:tokens(Ciphers0, ":")], + Ciphers = [ssl_cipher:openssl_suite(C) || C <- string:lexemes(Ciphers0, ":")], binary_cipher_suites(Version, Ciphers). handle_eccs_option(Value, Version) when is_list(Value) -> |