Add minor output polish for session resumption and client auth

* remove 2x resumption
* [[ ${SESS_RESUMPTION[2]} =~ clientauth ]] isn't needed.
  otherwise fileout needs also to be changed
This commit is contained in:
Dirk Wetter 2019-11-20 20:47:13 +01:00
parent 9ce152ba43
commit 1366b187d0

View File

@ -9245,8 +9245,8 @@ run_server_defaults() {
((ret++)) ((ret++))
;; ;;
6) SESS_RESUMPTION[1]="ID=clientauth" 6) SESS_RESUMPTION[1]="ID=clientauth"
[[ ${SESS_RESUMPTION[2]} =~ clientauth ]] || pr_warning "Client Auth: " # [[ ${SESS_RESUMPTION[2]} =~ clientauth ]] || pr_warning "Client Auth: "
prln_warning "ID resumption resumption test not supported" prln_warning "Client Auth: ID resumption test not supported"
fileout "$jsonID" "WARN" "check couldn't be performed because of client authentication" fileout "$jsonID" "WARN" "check couldn't be performed because of client authentication"
;; ;;
7) SESS_RESUMPTION[1]="ID=unsuccessful" 7) SESS_RESUMPTION[1]="ID=unsuccessful"