aboutsummaryrefslogtreecommitdiff
path: root/src/libstore/s3-binary-cache-store.cc
diff options
context:
space:
mode:
authorJade Lovelace <lix@jade.fyi>2024-06-14 20:22:33 -0700
committerJade Lovelace <lix@jade.fyi>2024-06-18 15:11:49 -0700
commit02ca60809d511b280336344cb9420b7df2d57e6c (patch)
treeb9aab25d70237d42053626cbbccd56a16915b233 /src/libstore/s3-binary-cache-store.cc
parent3626738b9b801b2922b668ede7f7b83330d99018 (diff)
s3: delete obsolete ifdefs
The versions checked for are so old that we can just drop support. Change-Id: Ib9cf136d1cb9a4a91a6613102c4fd15e1190363b
Diffstat (limited to 'src/libstore/s3-binary-cache-store.cc')
-rw-r--r--src/libstore/s3-binary-cache-store.cc7
1 files changed, 0 insertions, 7 deletions
diff --git a/src/libstore/s3-binary-cache-store.cc b/src/libstore/s3-binary-cache-store.cc
index 13a709104..51193dc6f 100644
--- a/src/libstore/s3-binary-cache-store.cc
+++ b/src/libstore/s3-binary-cache-store.cc
@@ -58,9 +58,7 @@ class AwsLogger : public Aws::Utils::Logging::FormattedLogSystem
debug("AWS: %s", chomp(statement));
}
-#if !(AWS_VERSION_MAJOR <= 1 && AWS_VERSION_MINOR <= 7 && AWS_VERSION_PATCH <= 115)
void Flush() override {}
-#endif
};
static void initAWS()
@@ -100,12 +98,7 @@ S3Helper::S3Helper(
: std::dynamic_pointer_cast<Aws::Auth::AWSCredentialsProvider>(
std::make_shared<Aws::Auth::ProfileConfigFileAWSCredentialsProvider>(profile.c_str())),
*config,
- // FIXME: https://github.com/aws/aws-sdk-cpp/issues/759
-#if AWS_VERSION_MAJOR == 1 && AWS_VERSION_MINOR < 3
- false,
-#else
Aws::Client::AWSAuthV4Signer::PayloadSigningPolicy::Never,
-#endif
endpoint.empty()))
{
}