From bdb0acaaeb03bfc39e0dfab276e693b2f2e7c1c1 Mon Sep 17 00:00:00 2001
From: Wido den Hollander <wido@widodh.nl>
Date: Sat, 31 Jul 2010 11:27:24 +0200
Subject: [PATCH] auth: Make a correct cast
---
src/auth/Crypto.cc | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
@@ -107,7 +107,7 @@ public:
int decrypt(bufferptr& secret, const bufferlist& in, bufferlist& out);
};
-static const unsigned char *aes_iv = CEPH_AES_IV;
+static const unsigned char *aes_iv = (const unsigned char *)CEPH_AES_IV;
int CryptoAES::create(bufferptr& secret)
{
--
1.7.0.4