瀏覽代碼

Rename signature module to sig

timvisee 7 年之前
父節點
當前提交
b77017a269
共有 3 個文件被更改,包括 2 次插入2 次删除
  1. 1 1
      api/src/action/download.rs
  2. 1 1
      api/src/crypto/mod.rs
  3. 0 0
      api/src/crypto/sig.rs

+ 1 - 1
api/src/action/download.rs

@@ -17,7 +17,7 @@ use serde_json;
 
 use crypto::b64;
 use crypto::key_set::KeySet;
-use crypto::sign::signature_encoded;
+use crypto::sig::signature_encoded;
 use ext::status_code::StatusCodeExt;
 use file::file::DownloadFile;
 use file::metadata::Metadata;

+ 1 - 1
api/src/crypto/mod.rs

@@ -1,7 +1,7 @@
 pub mod b64;
 pub mod hdkf;
 pub mod key_set;
-pub mod sign;
+pub mod sig;
 
 // Reexport the cryptographically secure random bytes generator
 pub use super::openssl::rand::rand_bytes;

+ 0 - 0
api/src/crypto/sign.rs → api/src/crypto/sig.rs