Repository navigation
Commit dc2c5c6
authored
MINOR: [C++] Remove misleading comment on FileKeyUnwrapper constructor (#40808)
### Rationale for this change
I added this comment in #34181, but from the discussion in #40732 (comment), I realised this comment was incorrect. The extra overload appears to just be a convenience as a `FileKeyMaterialStore` is already constructed in `KeyToolkit::RotateMasterKeys`, but the store isn't actually used by the `FileKeyUnwrapper` in that method, as only `FileKeyUnwrapper::GetDataEncryptionKey` is called, which bypasses the store.
`RotateMasterKeys` does however rely on the `temp_key_material_store` passed to the `FileKeyWrapper` being used, which is possibly where this confusion came from.
### What changes are included in this PR?
Removes an incorrect statement from a C++ header comment.
### Are these changes tested?
NA
### Are there any user-facing changes?
No
Authored-by: Adam Reeve <[email protected]>
Signed-off-by: Antoine Pitrou <[email protected]>1 parent 83dc0a9 commit dc2c5c6
1 file changed
Lines changed: 1 addition & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
57 | 57 | | |
58 | 58 | | |
59 | 59 | | |
60 | | - | |
61 | | - | |
| 60 | + | |
62 | 61 | | |
63 | 62 | | |
64 | 63 | | |
| |||
0 commit comments