summaryrefslogtreecommitdiff
path: root/ext/node/ops/crypto/x509.rs
diff options
context:
space:
mode:
authorDivy Srivastava <dj.srivastava23@gmail.com>2024-06-21 10:49:39 +0530
committerGitHub <noreply@github.com>2024-06-21 10:49:39 +0530
commitb4939f33795b42f4a6bb47a803a9c83b531454a4 (patch)
treec666a9daef5cdfc05644a233910f60f9ecd98634 /ext/node/ops/crypto/x509.rs
parent88e3f465d3a95db277ac7e685a0ed239958f8e6e (diff)
fix: upgrade deno_core to 0.291.0 (#24297)
Diffstat (limited to 'ext/node/ops/crypto/x509.rs')
-rw-r--r--ext/node/ops/crypto/x509.rs2
1 files changed, 2 insertions, 0 deletions
diff --git a/ext/node/ops/crypto/x509.rs b/ext/node/ops/crypto/x509.rs
index 8ae7c314d..517a3a943 100644
--- a/ext/node/ops/crypto/x509.rs
+++ b/ext/node/ops/crypto/x509.rs
@@ -19,6 +19,8 @@ pub(crate) struct Certificate {
cert: X509Certificate<'static>,
}
+impl deno_core::GcResource for Certificate {}
+
impl Certificate {
fn fingerprint<D: Digest>(&self) -> Option<String> {
self.pem.as_ref().map(|pem| {