summaryrefslogtreecommitdiff
path: root/src/rgw/rgw_swift_auth.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/rgw/rgw_swift_auth.cc')
-rw-r--r--src/rgw/rgw_swift_auth.cc12
1 files changed, 5 insertions, 7 deletions
diff --git a/src/rgw/rgw_swift_auth.cc b/src/rgw/rgw_swift_auth.cc
index 991132f9c75..18f7d164dc3 100644
--- a/src/rgw/rgw_swift_auth.cc
+++ b/src/rgw/rgw_swift_auth.cc
@@ -1,20 +1,18 @@
-#include "rgw_swift_auth.h"
-#include "rgw_rest.h"
-
-#include "global/debug.h"
#include "common/ceph_crypto.h"
#include "common/Clock.h"
-
#include "auth/Crypto.h"
+#include "global/debug.h"
#include "rgw_client_io.h"
+#include "rgw_swift_auth.h"
+
+using namespace ceph::crypto;
+
#define dout_subsys ceph_subsys_rgw
#define DEFAULT_SWIFT_PREFIX "swift"
-using namespace ceph::crypto;
-
static int build_token(string& swift_user, string& key, uint64_t nonce, utime_t& expiration, bufferlist& bl)
{
::encode(swift_user, bl);