File tree Expand file tree Collapse file tree 3 files changed +17
-1
lines changed Expand file tree Collapse file tree 3 files changed +17
-1
lines changed Original file line number Diff line number Diff line change @@ -37,6 +37,8 @@ GA 1.1.4 -
37
37
fields. (Bug#18803414/72700)
38
38
- Missing collation info in the column metadata methods for a result.
39
39
(Bug#18803345/72698)
40
+ - Added connection option "rsaKey" to specify RSA public key path name
41
+ (wl#7972).
40
42
41
43
- Built against libmysql 5.6.
42
44
Original file line number Diff line number Diff line change @@ -247,7 +247,8 @@ static const String2IntMap stringOptions[]=
247
247
{
248
248
{" preInit" , MYSQL_INIT_COMMAND},
249
249
{" sslCRL" , MYSQL_OPT_SSL_CRL},
250
- {" sslCRLPath" , MYSQL_OPT_SSL_CRLPATH}
250
+ {" sslCRLPath" , MYSQL_OPT_SSL_CRLPATH},
251
+ {" rsaKey" , MYSQL_SERVER_PUBLIC_KEY}
251
252
};
252
253
253
254
template <class T >
Original file line number Diff line number Diff line change @@ -899,6 +899,19 @@ void connection::connectUsingMapWrongTypes()
899
899
}
900
900
connection_properties.erase (" sslCRLPath" );
901
901
902
+ try
903
+ {
904
+ connection_properties[" rsaKey" ]=(boolval);
905
+ created_objects.clear ();
906
+ con.reset (driver->connect (connection_properties));
907
+ FAIL (" No exception XXXIII - rsaKey" );
908
+ }
909
+ catch (sql::InvalidArgumentException)
910
+ {
911
+ /* expected */
912
+ }
913
+ connection_properties.erase (" rsaKey" );
914
+
902
915
}
903
916
catch (sql::SQLException &e)
904
917
{
You can’t perform that action at this time.
0 commit comments