aboutsummaryrefslogtreecommitdiff
path: root/src/api/signature
diff options
context:
space:
mode:
Diffstat (limited to 'src/api/signature')
-rw-r--r--src/api/signature/mod.rs2
-rw-r--r--src/api/signature/payload.rs2
-rw-r--r--src/api/signature/streaming.rs2
3 files changed, 3 insertions, 3 deletions
diff --git a/src/api/signature/mod.rs b/src/api/signature/mod.rs
index e3554080..4679747f 100644
--- a/src/api/signature/mod.rs
+++ b/src/api/signature/mod.rs
@@ -4,7 +4,7 @@ use sha2::Sha256;
use garage_util::data::{sha256sum, Hash};
-use crate::error::*;
+use crate::s3::error::*;
pub mod payload;
pub mod streaming;
diff --git a/src/api/signature/payload.rs b/src/api/signature/payload.rs
index 52c4d401..47445bc7 100644
--- a/src/api/signature/payload.rs
+++ b/src/api/signature/payload.rs
@@ -15,7 +15,7 @@ use super::LONG_DATETIME;
use super::{compute_scope, signing_hmac};
use crate::encoding::uri_encode;
-use crate::error::*;
+use crate::s3::error::*;
pub async fn check_payload_signature(
garage: &Garage,
diff --git a/src/api/signature/streaming.rs b/src/api/signature/streaming.rs
index 6c326c54..06a0512e 100644
--- a/src/api/signature/streaming.rs
+++ b/src/api/signature/streaming.rs
@@ -12,7 +12,7 @@ use garage_util::data::Hash;
use super::{compute_scope, sha256sum, HmacSha256, LONG_DATETIME};
-use crate::error::*;
+use crate::s3::error::*;
pub fn parse_streaming_body(
api_key: &Key,