Signed-off-by: Jim Schutt <jaschut@xxxxxxxxxx> --- src/auth/Crypto.cc | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/src/auth/Crypto.cc b/src/auth/Crypto.cc index 3dbfd88..757ed79 100644 --- a/src/auth/Crypto.cc +++ b/src/auth/Crypto.cc @@ -101,7 +101,7 @@ decrypt(const bufferptr& secret, const bufferlist& in, bufferlist& out) const # define AES_KEY_LEN 16 # define AES_BLOCK_LEN 16 -static int nss_aes_operation(CK_ATTRIBUTE_TYPE op, bufferptr& secret, const bufferlist& in, bufferlist& out) { +static int nss_aes_operation(CK_ATTRIBUTE_TYPE op, const bufferptr& secret, const bufferlist& in, bufferlist& out) { const CK_MECHANISM_TYPE mechanism = CKM_AES_CBC_PAD; // sample source said this has to be at least size of input + 8, -- 1.6.6 -- To unsubscribe from this list: send the line "unsubscribe ceph-devel" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html