-
-
Notifications
You must be signed in to change notification settings - Fork 212
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Implemented CORE-5374: Make database name available to crypt plugin
- Loading branch information
1 parent
d079557
commit b76648f
Showing
5 changed files
with
211 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -81,6 +81,13 @@ class DbCrypt : public IDbCryptPluginImpl<DbCrypt, CheckStatusWrapper> | |
void decrypt(CheckStatusWrapper* status, unsigned int length, const void* from, void* to); | ||
void setKey(CheckStatusWrapper* status, unsigned int length, IKeyHolderPlugin** sources, | ||
const char* keyName); | ||
// One if free to ignore passed info when not needed | ||
void setInfo(CheckStatusWrapper* status, IDbCryptInfo* info) | ||
{ | ||
#ifdef NEVERDEF | ||
This comment has been minimized.
Sorry, something went wrong.
This comment has been minimized.
Sorry, something went wrong.
AlexPeshkoff
Author
Member
|
||
fprintf(stderr, "DbInfo: name is %s\n", info->getDatabaseFullPath(status)); | ||
#endif | ||
} | ||
|
||
int release() | ||
{ | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
1 comment
on commit b76648f
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Changing of interface without discussion or RFC is not a good idea.
I see you already used this NEVERDEF in common for another thing. It misses the objective of defines when you use a same [not good] name for different things.