From 8ffad518228e10fbd037c17bba5ce33f4e862581 Mon Sep 17 00:00:00 2001 From: Alexey Yurchenko Date: Thu, 22 Nov 2018 17:23:30 +0200 Subject: [PATCH] Fixed the definition of the encryption callback --- src/wsrep_provider_v26.cpp | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/src/wsrep_provider_v26.cpp b/src/wsrep_provider_v26.cpp index 717b54f..ea3793c 100644 --- a/src/wsrep_provider_v26.cpp +++ b/src/wsrep_provider_v26.cpp @@ -419,11 +419,12 @@ namespace } } - int encrypt_cb(wsrep_enc_ctx_t* /*ctx*/, - const wsrep_buf_t* /*input*/, - void* /*output*/, - wsrep_enc_direction_t /*direction*/, - bool /*final*/) + wsrep_cb_status_t encrypt_cb(void* /* app ctx */, + wsrep_enc_ctx_t* /*ctx*/, + const wsrep_buf_t* /*input*/, + void* /*output*/, + wsrep_enc_direction_t /*direction*/, + bool /*final*/) { return WSREP_CB_SUCCESS; }