aboutsummaryrefslogtreecommitdiffstats
path: root/lib/crypto/test
diff options
context:
space:
mode:
authorSverker Eriksson <[email protected]>2012-10-02 11:16:18 +0200
committerSverker Eriksson <[email protected]>2012-12-04 18:14:50 +0100
commit62f4d2b3af590ec9ca76baca01f71c19b2e53211 (patch)
tree451de78ba6d932336a3fe0263fbabafa421b3a69 /lib/crypto/test
parent0ba0ffb914fa423ef34faa233f5bd92e9fa753ab (diff)
downloadotp-62f4d2b3af590ec9ca76baca01f71c19b2e53211.tar.gz
otp-62f4d2b3af590ec9ca76baca01f71c19b2e53211.tar.bz2
otp-62f4d2b3af590ec9ca76baca01f71c19b2e53211.zip
crypto: Throw notsup for DES3 CFB encryption for old openssl
An attempt to enable the use of openssl 0.9.7
Diffstat (limited to 'lib/crypto/test')
-rw-r--r--lib/crypto/test/crypto_SUITE.erl6
1 files changed, 6 insertions, 0 deletions
diff --git a/lib/crypto/test/crypto_SUITE.erl b/lib/crypto/test/crypto_SUITE.erl
index 7ac693f371..ee5e411407 100644
--- a/lib/crypto/test/crypto_SUITE.erl
+++ b/lib/crypto/test/crypto_SUITE.erl
@@ -996,6 +996,12 @@ des3_cfb(doc) ->
des3_cfb(suite) ->
[];
des3_cfb(Config) when is_list(Config) ->
+ case openssl_version() of
+ V when V < 16#90705F -> {skipped,"OpenSSL version too old"};
+ _ -> des3_cfb_do()
+ end.
+
+des3_cfb_do() ->
?line Key1 = hexstr2bin("0123456789abcdef"),
?line Key2 = hexstr2bin("fedcba9876543210"),
?line Key3 = hexstr2bin("0f2d4b6987a5c3e1"),