diff options
Diffstat (limited to 'ext/node/ops/crypto/x509.rs')
-rw-r--r-- | ext/node/ops/crypto/x509.rs | 2 |
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| { |