Github user nsuke commented on a diff in the pull request: https://github.com/apache/thrift/pull/1197#discussion_r101909373 --- Diff: test/secure/test_secure.bash --- @@ -0,0 +1,69 @@ +#!/bin/bash + +# +# Checks various desired attributes in SSL/TLS implementations. +# + +THRIFTHOST=localhost +THRIFTPORT=9090 + +while [[ $# -ge 1 ]]; do + arg="$1" + argIN=(${arg//=/ }) + + case ${argIN[0]} in + -h|--host) + THRIFTHOST=${argIN[1]} + shift # past argument + ;; + -p|--port) + THRIFTPORT=${argIN[1]} + shift # past argument + ;; + *) + # unknown option ignored + ;; + esac + + shift # past argument or value +done + +# +# Negotiation Test Expectations +# + +declare -A EXPECT_NEGOTIATE +EXPECT_NEGOTIATE[ssl3]=0 +EXPECT_NEGOTIATE[tls1]=1 +EXPECT_NEGOTIATE[tls1_1]=1 +EXPECT_NEGOTIATE[tls1_2]=1 --- End diff -- Sounds reasonable to me.
--- If your project is set up for it, you can reply to this email and have your reply appear on GitHub as well. If your project does not have this feature enabled and wishes so, or if the feature is enabled but not working, please contact infrastructure at infrastruct...@apache.org or file a JIRA ticket with INFRA. ---