Skip to content

Commit c14df82

Browse files
committed
Fix mysqli ssl test for tls1.3
Specifying AES256-SHA results in TLS_AES_256_GCM_SHA384 if the connection uses TLS v1.3.
1 parent bb5cdd9 commit c14df82

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

ext/mysqli/tests/bug55283.phpt

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -62,17 +62,17 @@ $link->close();
6262

6363
echo "done\n";
6464
?>
65-
--EXPECT--
65+
--EXPECTF--
6666
array(2) {
6767
[0]=>
6868
string(10) "Ssl_cipher"
6969
[1]=>
70-
string(10) "AES256-SHA"
70+
string(%d) "%rAES256-SHA|TLS_AES_256_GCM_SHA384%r"
7171
}
7272
array(2) {
7373
[0]=>
7474
string(10) "Ssl_cipher"
7575
[1]=>
76-
string(10) "AES256-SHA"
76+
string(%d) "%rAES256-SHA|TLS_AES_256_GCM_SHA384%r"
7777
}
7878
done

0 commit comments

Comments
 (0)