Skip to content

Commit

Permalink
ssl: Remove faulty workaround
Browse files Browse the repository at this point in the history
We where never really satisfied with this workaround it was
a bit far fetched, so we are pleased to be able to remove it.
  • Loading branch information
IngelaAndin committed Nov 9, 2016
1 parent 3e06b82 commit 12e1c70
Showing 1 changed file with 2 additions and 11 deletions.
13 changes: 2 additions & 11 deletions lib/ssl/test/ssl_ECC_SUITE.erl
Expand Up @@ -566,17 +566,8 @@ new_openssl_ca(FileName, CA, OwnCa) ->
E1 = public_key:pem_decode(P1),
{ok, P2} = file:read_file(OwnCa),
E2 = public_key:pem_decode(P2),
case os:cmd("openssl version") of
"OpenSSL 1.0.1p-freebsd" ++ _ ->
Pem = public_key:pem_encode(E1 ++E2),
file:write_file(FileName, Pem);
"LibreSSL" ++ _ ->
Pem = public_key:pem_encode(E1 ++E2),
file:write_file(FileName, Pem);
_ ->
Pem = public_key:pem_encode(E2 ++E1),
file:write_file(FileName, Pem)
end,
Pem = public_key:pem_encode(E2 ++E1),
file:write_file(FileName, Pem),
FileName.

supported_eccs(Opts) ->
Expand Down

0 comments on commit 12e1c70

Please sign in to comment.