aboutsummaryrefslogtreecommitdiffstats
path: root/lib/ssl/test/ssl_pem_cache_SUITE.erl
diff options
context:
space:
mode:
authorIngela Anderton Andin <[email protected]>2015-03-02 16:12:49 +0100
committerIngela Anderton Andin <[email protected]>2015-03-09 10:29:55 +0100
commitd4fd18e715954d0310deb4ccbedebe0bddcef82c (patch)
tree6a7ca86710f476f3bea90dfbac02a1f38825ef83 /lib/ssl/test/ssl_pem_cache_SUITE.erl
parent4e0a5e36b38e3f15ed8f7d700d26f2424a47111c (diff)
downloadotp-d4fd18e715954d0310deb4ccbedebe0bddcef82c.tar.gz
otp-d4fd18e715954d0310deb4ccbedebe0bddcef82c.tar.bz2
otp-d4fd18e715954d0310deb4ccbedebe0bddcef82c.zip
ssl: fix white box tests
Diffstat (limited to 'lib/ssl/test/ssl_pem_cache_SUITE.erl')
-rw-r--r--lib/ssl/test/ssl_pem_cache_SUITE.erl6
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/ssl/test/ssl_pem_cache_SUITE.erl b/lib/ssl/test/ssl_pem_cache_SUITE.erl
index 843079e2fe..23584dfcdf 100644
--- a/lib/ssl/test/ssl_pem_cache_SUITE.erl
+++ b/lib/ssl/test/ssl_pem_cache_SUITE.erl
@@ -113,9 +113,9 @@ get_pem_cache() ->
{status, _, _, StatusInfo} = sys:get_status(whereis(ssl_manager)),
[_, _,_, _, Prop] = StatusInfo,
State = ssl_test_lib:state(Prop),
- case element(5, State) of
- [_CertDb, _FileRefDb, PemChace] ->
- PemChace;
+ case element(6, State) of
+ [_CertDb, _FileRefDb, PemCache| _] ->
+ PemCache;
_ ->
undefined
end.