From 8f3341a165d18c07793805e28792ac490ef1760a Mon Sep 17 00:00:00 2001 From: Richard Soderberg Date: Fri, 18 Sep 2015 11:53:18 -0700 Subject: [PATCH] openssl fallback and version warnings should go to STDERR --- cipherscan | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/cipherscan b/cipherscan index 642b6f8..3e4ee19 100755 --- a/cipherscan +++ b/cipherscan @@ -1415,13 +1415,13 @@ debug "target: $TARGET" if [[ ! -x $OPENSSLBIN ]]; then OPENSSLBIN=$(which openssl) if [[ "$OUTPUTFORMAT" == "terminal" ]]; then - echo "custom openssl not executable, falling back to system one from $OPENSSLBIN" + echo "custom openssl not executable, falling back to system one from $OPENSSLBIN" 1>&2 fi fi if [[ $TEST_CURVES == "True" ]]; then if [[ ! -z "$($OPENSSLBIN s_client -curves 2>&1|head -1|grep 'unknown option')" ]]; then - echo "curves testing not available with your version of openssl, disabling it" + echo "curves testing not available with your version of openssl, disabling it" 1>&2 TEST_CURVES="False" fi fi