Skip to content

Commit 77642d9

Browse files
committed
Made fixes and added to integration test
Signed-off-by: S V <vats02581@gmail.com>
1 parent 02ee7ab commit 77642d9

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

r2dbc-mysql/src/main/java/io/asyncer/r2dbc/mysql/InitFlow.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -728,7 +728,8 @@ private HandshakeResponse createHandshakeResponse(Capability capability) {
728728
byte[] authorization = authProvider.authentication(password, salt, client.getContext().getClientCollation());
729729

730730
if (authProvider.isSslNecessary() && !sslCompleted && sslMode.equals(SslMode.DISABLED)) {
731-
authorization = MySqlAuthProvider.rsaEncryption(authorization, serverRSAPublicKeyFile, client.getContext().getServerVersion());
731+
authorization = MySqlAuthProvider.rsaEncryption(authorization, serverRSAPublicKeyFile,
732+
client.getContext().getServerVersion());
732733
}
733734

734735
String authType = authProvider.getType();

0 commit comments

Comments
 (0)