Rework how protocol specific ciphers in 80-test_ssl_old.t are picked out
authorRichard Levitte <levitte@openssl.org>
Wed, 15 Mar 2017 01:40:55 +0000 (02:40 +0100)
committerRichard Levitte <levitte@openssl.org>
Tue, 21 Mar 2017 09:16:23 +0000 (10:16 +0100)
commit9ea6d56d044a95459e563abdc85aed26149e6ee9
tree87d387cd874954d248631d87e6aa8447fd4337eb
parentca2045dc545ba4afe8abbe29d0316ee3d36da7df
Rework how protocol specific ciphers in 80-test_ssl_old.t are picked out

The code to do this incorrectly assumed that the protocol version
could be used as a valid cipher suite  for the 'openssl cipher'
command.  While this is true in some cases, that isn't something to be
trusted.  Replace that assumption with code that takes the full
'openssl ciphers' command output and parses it to find the ciphers we
look for.

Reviewed-by: Emilia Käsper <emilia@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/2956)
test/recipes/80-test_ssl_old.t