]> git.proxmox.com Git - ceph.git/blobdiff - ceph/src/common/ceph_crypto_cms.cc
update sources to v12.1.0
[ceph.git] / ceph / src / common / ceph_crypto_cms.cc
index 043376b4a9f20ae7fbc87e24885973fa797f5407..109f702bf7399c9eaf1d74480172265f88cbbbeb 100644 (file)
 
 
 #include "common/config.h"
+#include "common/debug.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/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)
 {
   return -ENOTSUP;
@@ -68,7 +55,6 @@ int ceph_decode_cms(CephContext *cct, bufferlist& cms_bl, bufferlist& decoded_bl
 
 #else
 
-
 static int cms_verbose = 0;
 
 static SECStatus
@@ -356,5 +342,4 @@ int ceph_decode_cms(CephContext *cct, bufferlist& cms_bl, bufferlist& decoded_bl
 
     return ret;
 }
-
 #endif