]> granicus.if.org Git - openssl/commit
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:21:29 +0000 (10:21 +0100)
commit256315dee11b187bc0390d75082f0231c4263eac
treef86d28440d838ab0dd60709ec933d37009423017
parent249452df67f7a5e4b203d71837cc0e8a31d62c75
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)
(cherry picked from commit 9ea6d56d044a95459e563abdc85aed26149e6ee9)
test/recipes/80-test_ssl_old.t