Skip to content

Commit beb63d9

Browse files
committed
Enable SessionTicket extension only when it's tested
1 parent a05c4a5 commit beb63d9

File tree

1 file changed

+7
-1
lines changed
  • nss/Interoperability/renego-and-resumption-NSS-with-OpenSSL

1 file changed

+7
-1
lines changed

nss/Interoperability/renego-and-resumption-NSS-with-OpenSSL/runtest.sh

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -749,7 +749,10 @@ rlJournalStart
749749
rlLogInfo "Test proper"
750750
declare -a options=()
751751
options+=(${SERVER_UTIL} -d sql:./nssdb/ -p 4433 -V tls1.0:
752-
-c :${C_ID[$j]} -u -H 1)
752+
-c :${C_ID[$j]} -H 1)
753+
if [[ $sess == "ticket" ]]; then
754+
options+=(-u)
755+
fi
753756
if [[ ${C_KEY[$j]} =~ 'ecdsa' ]]; then
754757
options+=(-e ${C_KEY[$j]%%/*})
755758
elif [[ ${C_KEY[$j]} =~ 'dsa' ]]; then
@@ -801,6 +804,9 @@ rlJournalStart
801804
declare -a options=()
802805
options+=(${SERVER_UTIL} -d sql:./nssdb/ -p 4433 -V tls1.0: -rr
803806
-c :${C_ID[$j]} -H 1)
807+
if [[ $sess == "ticket" ]]; then
808+
options+=(-u)
809+
fi
804810
if [[ ${C_KEY[$j]} =~ 'ecdsa' ]]; then
805811
options+=(-e ${C_KEY[$j]%%/*})
806812
elif [[ ${C_KEY[$j]} =~ 'dsa' ]]; then

0 commit comments

Comments
 (0)