| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
|
| |
test/crypto.cc:20:31: warning: ‘crypto_env’ defined but not used [-Wunused-variable]
::testing::Environment* const crypto_env = ::testing::AddGlobalTestEnvironment(n
^
test/ceph_crypto.cc:12:31: warning: ‘crypto_env’ defined but not used [-Wunused-variable]
::testing::Environment* const crypto_env = ::testing::AddGlobalTestEnvironment(n
^
Signed-off-by: Sage Weil <sage@redhat.com>
|
|
|
|
|
|
| |
This is simpler for a lot of callers.
Signed-off-by: Sage Weil <sage@redhat.com>
|
|
|
|
|
|
|
| |
Cache all of the crypto key context in a new CryptoKeyHandler struct that
is attached to CryptoKey.
Signed-off-by: Sage Weil <sage@redhat.com>
|
|
|
|
| |
Signed-off-by: Sage Weil <sage@redhat.com>
|
|
|
|
|
|
| |
warning: test/crypto.cc:49:3: narrowing conversion of ‘136’ from ‘int’ to ‘char’ inside { } is ill-formed in C++11 [-Wnarrowing]
Signed-off-by: Sage Weil <sage@inktank.com>
|
|
|
|
| |
Signed-off-by: Yehuda Sadeh <yehuda@inktank.com>
|
|
|
|
|
|
|
| |
Globals are bad news. Switch all users to get the CryptoHandler from
their cct.
Signed-off-by: Sage Weil <sage@inktank.com>
|
|
|
|
|
|
|
|
|
|
|
| |
Initialize g_ceph_context in common_preinit rather than in a global
constructor.
Add comments to all of the major initialization functions.
We still set globals in common_preinit, for the time being.
Signed-off-by: Colin McCabe <colin.mccabe@dreamhost.com>
|
|
|
|
| |
Signed-off-by: Colin McCabe <colin.mccabe@dreamhost.com>
|
|
|
|
|
|
| |
It doesn't do anything.
Signed-off-by: Colin McCabe <colin.mccabe@dreamhost.com>
|
|
|
|
| |
Signed-off-by: Colin McCabe <colin.mccabe@dreamhost.com>
|
|
|
|
|
|
| |
This avoids doing it in a global constructor.
Signed-off-by: Tommi Virtanen <tommi.virtanen@dreamhost.com>
|
|
|
|
| |
Signed-off-by: Tommi Virtanen <tommi.virtanen@dreamhost.com>
|
|
Signed-off-by: Tommi Virtanen <tommi.virtanen@dreamhost.com>
|