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
5
.gitmodules
vendored
5
.gitmodules
vendored
@ -1,7 +1,4 @@
|
||||
[submodule "wsrep"]
|
||||
path = wsrep
|
||||
url = git@github.com:codership/wsrep-API.git
|
||||
[submodule "wsrep-API/v26"]
|
||||
path = wsrep-API/v26
|
||||
url = https://github.com/codership/wsrep-API.git
|
||||
branch = "wsrep-API#20"
|
||||
branch = master
|
||||
|
@ -359,6 +359,15 @@ namespace
|
||||
}
|
||||
}
|
||||
|
||||
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,
|
||||
uint32_t flags,
|
||||
@ -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;
|
||||
|
1
wsrep
1
wsrep
Submodule wsrep deleted from eb7d6b8dd1
Submodule wsrep-API/v26 updated: a306d72fd9...0c1da9e7c0
Reference in New Issue
Block a user