aboutsummaryrefslogtreecommitdiffstats
path: root/lib/crypto/test
diff options
context:
space:
mode:
authorBjörn Gustavsson <[email protected]>2010-04-08 11:55:33 +0200
committerBjörn Gustavsson <[email protected]>2010-04-08 11:57:22 +0200
commit14035712097e634a4a7e7851d88fe8b6f8703708 (patch)
tree01f6a1513038c421741b3c40fb46b905d449df12 /lib/crypto/test
parentca2b31a8246a1ae629094fe39c9dee461e61cdb3 (diff)
downloadotp-14035712097e634a4a7e7851d88fe8b6f8703708.tar.gz
otp-14035712097e634a4a7e7851d88fe8b6f8703708.tar.bz2
otp-14035712097e634a4a7e7851d88fe8b6f8703708.zip
test suites: Remove incidental use of deprecated concat_binary/1
Don't use the deprecated concat_binary/1 BIF in test suites that don't specifically test concat_binary/1 itself.
Diffstat (limited to 'lib/crypto/test')
-rw-r--r--lib/crypto/test/crypto_SUITE.erl2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/crypto/test/crypto_SUITE.erl b/lib/crypto/test/crypto_SUITE.erl
index 8467ff2274..ee0e5c0dae 100644
--- a/lib/crypto/test/crypto_SUITE.erl
+++ b/lib/crypto/test/crypto_SUITE.erl
@@ -441,7 +441,7 @@ des_cbc_iter(Config) when is_list(Config) ->
?line Cipher1 = crypto:des_cbc_encrypt(Key, IVec, Plain1),
?line IVec2 = crypto:des_cbc_ivec(Cipher1),
?line Cipher2 = crypto:des_cbc_encrypt(Key, IVec2, Plain2),
- ?line Cipher = concat_binary([Cipher1, Cipher2]),
+ ?line Cipher = list_to_binary([Cipher1, Cipher2]),
?line m(Cipher, hexstr2bin("e5c7cdde872bf27c43e934008c389c"
"0f683788499a7c05f6")).