summaryrefslogtreecommitdiff
path: root/ext/crypto/generate_key.rs
diff options
context:
space:
mode:
Diffstat (limited to 'ext/crypto/generate_key.rs')
-rw-r--r--ext/crypto/generate_key.rs5
1 files changed, 4 insertions, 1 deletions
diff --git a/ext/crypto/generate_key.rs b/ext/crypto/generate_key.rs
index 9ecbb8d11..2a9452c43 100644
--- a/ext/crypto/generate_key.rs
+++ b/ext/crypto/generate_key.rs
@@ -1,4 +1,5 @@
-use crate::shared::*;
+// Copyright 2018-2023 the Deno authors. All rights reserved. MIT license.
+
use deno_core::error::AnyError;
use deno_core::op;
use deno_core::ZeroCopyBuf;
@@ -12,6 +13,8 @@ use rsa::BigUint;
use rsa::RsaPrivateKey;
use serde::Deserialize;
+use crate::shared::*;
+
// Allowlist for RSA public exponents.
static PUB_EXPONENT_1: Lazy<BigUint> =
Lazy::new(|| BigUint::from_u64(3).unwrap());