Slide 14
Slide 14 text
Confidential
Confidential
MariaDB Connector/Cのプラグインについて
14
/* if no public key file was specified or if we couldn't read the file,
we ask server to send public key */
if (!filebuffer)
{
unsigned char request= REQUEST_PUBLIC_KEY;
if (vio->write_packet(vio, &request, 1) ||
(packet_length=vio->read_packet(vio, &packet)) == -1)
{
mysql->methods->set_error(mysql, CR_AUTH_PLUGIN_ERR, "HY000", "Couldn't read RSA public key
from server");
return CR_ERROR;
} }
● 実際にソースを見ると公開鍵のリクエスト
している部分が見られた