diff options
author | Ingela Anderton Andin <[email protected]> | 2016-05-13 11:08:07 +0200 |
---|---|---|
committer | Ingela Anderton Andin <[email protected]> | 2016-05-13 11:08:07 +0200 |
commit | 773dc6d005adad1ba52b75642198321ebe372e63 (patch) | |
tree | 26074fa22dfca7f1dd47a623bc708f71a36c4513 /lib/public_key/test/pbe_SUITE.erl | |
parent | b956a9ec915f4ec0ab3d0136ea32d8f5f159ae37 (diff) | |
download | otp-773dc6d005adad1ba52b75642198321ebe372e63.tar.gz otp-773dc6d005adad1ba52b75642198321ebe372e63.tar.bz2 otp-773dc6d005adad1ba52b75642198321ebe372e63.zip |
public_key: Remove test_server config macros and unsed hooks
Diffstat (limited to 'lib/public_key/test/pbe_SUITE.erl')
-rw-r--r-- | lib/public_key/test/pbe_SUITE.erl | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/lib/public_key/test/pbe_SUITE.erl b/lib/public_key/test/pbe_SUITE.erl index 4b7ebf4309..004eaefc27 100644 --- a/lib/public_key/test/pbe_SUITE.erl +++ b/lib/public_key/test/pbe_SUITE.erl @@ -30,7 +30,8 @@ %% Common Test interface functions ----------------------------------- %%-------------------------------------------------------------------- -suite() -> [{ct_hooks,[ts_install_cth]}]. +suite() -> + []. all() -> [ @@ -199,7 +200,7 @@ pbdkdf2(Config) when is_list(Config) -> old_enc() -> [{doc,"Tests encode/decode RSA key encrypted with different ciphers using old PEM encryption scheme"}]. old_enc(Config) when is_list(Config) -> - Datadir = ?config(data_dir, Config), + Datadir = proplists:get_value(data_dir, Config), %% key generated with ssh-keygen -N hello_aes -f old_aes_128_cbc_enc_key.pem {ok, PemAesCbc} = file:read_file(filename:join(Datadir, "old_aes_128_cbc_enc_key.pem")), @@ -226,7 +227,7 @@ check_key_info(#'PrivateKeyInfo'{privateKeyAlgorithm = #'RSAPrivateKey'{} = public_key:der_decode('RSAPrivateKey', iolist_to_binary(Key)). decode_encode_key_file(File, Password, Cipher, Config) -> - Datadir = ?config(data_dir, Config), + Datadir = proplists:get_value(data_dir, Config), {ok, PemKey} = file:read_file(filename:join(Datadir, File)), PemEntry = public_key:pem_decode(PemKey), |