mirror of
https://github.com/codership/wsrep-lib.git
synced 2025-08-05 04:01:12 +03:00
Added encryption simulation in dbsim
Option --encryption=1 enables encryption simulation in dbsim. The `do_crypt()` callback flips bits of input buffer and writes to output.
This commit is contained in:
@@ -140,7 +140,7 @@ void db::simulator::start()
|
||||
std::string server_options(params_.wsrep_provider_options);
|
||||
|
||||
if (server.server_state().load_provider(
|
||||
params_.wsrep_provider, server_options, false))
|
||||
params_.wsrep_provider, server_options, params_.encryption))
|
||||
{
|
||||
throw wsrep::runtime_error("Failed to load provider");
|
||||
}
|
||||
|
Reference in New Issue
Block a user