diff options
author | Hans Nilsson <[email protected]> | 2019-01-10 10:42:55 +0100 |
---|---|---|
committer | Hans Nilsson <[email protected]> | 2019-01-15 11:54:33 +0100 |
commit | 2c5da61c121902fcbaf9027d96b6e1246e455747 (patch) | |
tree | 3d3d1cd30d8083e7bd59bf9652a000181f05c473 /lib/crypto/test/crypto_SUITE.erl | |
parent | a39ffa01ae51bebc496de22580d5b6aae6831afa (diff) | |
download | otp-2c5da61c121902fcbaf9027d96b6e1246e455747.tar.gz otp-2c5da61c121902fcbaf9027d96b6e1246e455747.tar.bz2 otp-2c5da61c121902fcbaf9027d96b6e1246e455747.zip |
crypto: Rename a testcase
crypto_SUITE:generate_all_supported -> use_all_elliptic_curves
Diffstat (limited to 'lib/crypto/test/crypto_SUITE.erl')
-rw-r--r-- | lib/crypto/test/crypto_SUITE.erl | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/lib/crypto/test/crypto_SUITE.erl b/lib/crypto/test/crypto_SUITE.erl index 6c6188f775..8111102a5a 100644 --- a/lib/crypto/test/crypto_SUITE.erl +++ b/lib/crypto/test/crypto_SUITE.erl @@ -156,7 +156,7 @@ groups() -> ]}, {dh, [], [generate_compute, compute_bug]}, - {ecdh, [], [generate_all_supported, compute, generate]}, + {ecdh, [], [use_all_elliptic_curves, compute, generate]}, {srp, [], [generate_compute]}, {des_cbc, [], [block]}, {des_cfb, [], [block]}, @@ -563,9 +563,9 @@ compute(Config) when is_list(Config) -> Gen = proplists:get_value(compute, Config), lists:foreach(fun do_compute/1, Gen). %%-------------------------------------------------------------------- -generate_all_supported() -> - [{doc, " Test that all curves from crypto:ec_curves/0 returns two binaries"}]. -generate_all_supported(_Config) -> +use_all_elliptic_curves() -> + [{doc, " Test that all curves from crypto:ec_curves/0"}]. +use_all_elliptic_curves(_Config) -> Results = [try crypto:generate_key(ecdh, C) |