aboutsummaryrefslogtreecommitdiffstats
path: root/lib/crypto
diff options
context:
space:
mode:
authorBjörn-Egil Dahlberg <[email protected]>2011-09-23 15:12:49 +0200
committerBjörn-Egil Dahlberg <[email protected]>2011-09-23 15:12:49 +0200
commit55bb3e1faf613c51ec59c9ee7ab4b4e967f30fda (patch)
treeb22a63ba9d1ae4ceef600916b41f5486a361e30d /lib/crypto
parent12f3b441fc138a6e7a5bc09b8973bd55cba8b5be (diff)
parent3a490638107f1fc559d1392920ace6553a3a17dd (diff)
downloadotp-55bb3e1faf613c51ec59c9ee7ab4b4e967f30fda.tar.gz
otp-55bb3e1faf613c51ec59c9ee7ab4b4e967f30fda.tar.bz2
otp-55bb3e1faf613c51ec59c9ee7ab4b4e967f30fda.zip
Merge branch 'egil/fix-ei-cover-case' into dev
* egil/fix-ei-cover-case: ei: Add gcc link flags to port_call_SUITE Change static link test of ssl to dynamic Remove static ssl linking in crypto for otp_build
Diffstat (limited to 'lib/crypto')
-rw-r--r--lib/crypto/test/crypto_SUITE.erl11
1 files changed, 6 insertions, 5 deletions
diff --git a/lib/crypto/test/crypto_SUITE.erl b/lib/crypto/test/crypto_SUITE.erl
index 2fa058c852..26d10d892a 100644
--- a/lib/crypto/test/crypto_SUITE.erl
+++ b/lib/crypto/test/crypto_SUITE.erl
@@ -138,14 +138,15 @@ link_test_2(Drv) ->
Libs = os:cmd(Cmd),
io:format("~p\n", [Libs]),
case string:str(Libs, "libcrypto") of
- 0 -> ok;
- _ ->
+ 0 ->
case ?t:is_commercial() of
true ->
- ?t:fail({libcrypto,not_statically_linked});
+ ?t:fail({libcrypto,statically_linked});
false ->
- {comment,"Not statically linked (OK for open-source platform)"}
- end
+ {comment,"Statically linked (OK for open-source platform)"}
+ end;
+ _ ->
+ ok
end
end.