diff --git a/plugin/keyring_rds/keyring_rds_impl.cc b/plugin/keyring_rds/keyring_rds_impl.cc index e203b8f70b6..8978f3c77dd 100644 --- a/plugin/keyring_rds/keyring_rds_impl.cc +++ b/plugin/keyring_rds/keyring_rds_impl.cc @@ -111,7 +111,7 @@ class Key_imp : public Key_interface { size_t *key_len) override { if (!initialized) return true; - *key_type = NULL; // No key type return in this keyring plugin + *key_type = my_strdup(key_memory_KEYRING_rds, "rds-tde", MYF(MY_WME)); *key = NULL; // Assume that it will fail Lock_helper rdlock(&LOCK_keyring_rds, false);