summaryrefslogtreecommitdiff
path: root/src/common/ceph_crypto_cms.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/common/ceph_crypto_cms.cc')
-rw-r--r--src/common/ceph_crypto_cms.cc14
1 files changed, 3 insertions, 11 deletions
diff --git a/src/common/ceph_crypto_cms.cc b/src/common/ceph_crypto_cms.cc
index 4d7a4ef598b..675a9c3a7a7 100644
--- a/src/common/ceph_crypto_cms.cc
+++ b/src/common/ceph_crypto_cms.cc
@@ -34,31 +34,23 @@
*
* ***** END LICENSE BLOCK ***** */
-
-#include "common/config.h"
+#include <string.h>
+#include <errno.h>
#ifdef USE_NSS
-
#include <nspr.h>
#include <cert.h>
#include <nss.h>
#include <smime.h>
-
#endif
-#include <string.h>
-#include <errno.h>
-
-
-#include "include/buffer.h"
-
+#include "common/config.h"
#include "common/debug.h"
#include "ceph_crypto_cms.h"
#define dout_subsys ceph_subsys_crypto
-
#ifndef USE_NSS
int ceph_decode_cms(CephContext *cct, bufferlist& cms_bl, bufferlist& decoded_bl)