Skip to content

Commit

Permalink
[postfix] Fix rds tde bug
Browse files Browse the repository at this point in the history
  • Loading branch information
sWildGold committed Apr 8, 2024
1 parent 3d752d0 commit 2882490
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion plugin/keyring_rds/keyring_rds_impl.cc
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit 2882490

Please sign in to comment.