From a00e432297d2ae119c8e1097aec74badc886f912 Mon Sep 17 00:00:00 2001 From: Yiyu Lin Date: Fri, 13 Jan 2023 15:51:32 +0800 Subject: chore: add `copyright_checker` tool and add the missing copyright (#17285) --- ext/crypto/decrypt.rs | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'ext/crypto/decrypt.rs') diff --git a/ext/crypto/decrypt.rs b/ext/crypto/decrypt.rs index c83ff55bd..6c4d5b6ba 100644 --- a/ext/crypto/decrypt.rs +++ b/ext/crypto/decrypt.rs @@ -1,4 +1,5 @@ -use crate::shared::*; +// Copyright 2018-2023 the Deno authors. All rights reserved. MIT license. + use aes::cipher::block_padding::Pkcs7; use aes::cipher::BlockDecryptMut; use aes::cipher::KeyIvInit; @@ -29,6 +30,8 @@ use sha2::Sha256; use sha2::Sha384; use sha2::Sha512; +use crate::shared::*; + #[derive(Deserialize)] #[serde(rename_all = "camelCase")] pub struct DecryptOptions { -- cgit v1.2.3