mirror of
https://github.com/codership/wsrep-lib.git
synced 2025-07-15 15:41:49 +03:00
codership/galera-bugs#165 Update to wsrep encryption API
Update wsrep-API/v26 submodule. Cleanup. Empty callback handler for encrypt.
This commit is contained in:
committed by
Alexey Yurchenko
parent
272de0c6af
commit
94174b06e6
@ -358,6 +358,15 @@ namespace
|
||||
return WSREP_CB_FAILURE;
|
||||
}
|
||||
}
|
||||
|
||||
int encrypt_cb(wsrep_enc_ctx_t* /*ctx*/,
|
||||
const wsrep_buf_t* /*input*/,
|
||||
void* /*output*/,
|
||||
wsrep_enc_direction_t /*direction*/,
|
||||
bool /*final*/)
|
||||
{
|
||||
return WSREP_CB_SUCCESS;
|
||||
}
|
||||
|
||||
wsrep_cb_status_t apply_cb(void* ctx,
|
||||
const wsrep_ws_handle_t* wsh,
|
||||
@ -497,6 +506,7 @@ wsrep::wsrep_provider_v26::wsrep_provider_v26(
|
||||
init_args.connected_cb = &connected_cb;
|
||||
init_args.view_cb = &view_cb;
|
||||
init_args.sst_request_cb = &sst_request_cb;
|
||||
init_args.encrypt_cb = &encrypt_cb;
|
||||
init_args.apply_cb = &apply_cb;
|
||||
init_args.unordered_cb = 0;
|
||||
init_args.sst_donate_cb = &sst_donate_cb;
|
||||
|
Reference in New Issue
Block a user