summaryrefslogtreecommitdiff
path: root/app-misc/ca-certificates/files/ca-certificates-20211016.3.72-no-cryptography.patch
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2024-03-02 05:41:39 +0000
committerV3n3RiX <venerix@koprulu.sector>2024-03-02 05:41:39 +0000
commita4036575de835600b3085b97974d0766ef7c7bc2 (patch)
tree545e8444bbb80f76c5faf48f8fef3719b931fd44 /app-misc/ca-certificates/files/ca-certificates-20211016.3.72-no-cryptography.patch
parent1331637681273dc8391d7a7caa6175405dceb735 (diff)
gentoo auto-resync : 02:03:2024 - 05:41:39
Diffstat (limited to 'app-misc/ca-certificates/files/ca-certificates-20211016.3.72-no-cryptography.patch')
-rw-r--r--app-misc/ca-certificates/files/ca-certificates-20211016.3.72-no-cryptography.patch27
1 files changed, 0 insertions, 27 deletions
diff --git a/app-misc/ca-certificates/files/ca-certificates-20211016.3.72-no-cryptography.patch b/app-misc/ca-certificates/files/ca-certificates-20211016.3.72-no-cryptography.patch
deleted file mode 100644
index fb98eb2828e7..000000000000
--- a/app-misc/ca-certificates/files/ca-certificates-20211016.3.72-no-cryptography.patch
+++ /dev/null
@@ -1,27 +0,0 @@
-Remove the dependency on non-portable dev-python/cryptography.
-https://bugs.gentoo.org/821706#c4 by Alex Xu
-
---- a/mozilla/certdata2pem.py
-+++ b/mozilla/certdata2pem.py
-@@ -28,8 +28,6 @@
- import textwrap
- import io
-
--from cryptography import x509
--
-
- objects = []
-
-@@ -122,12 +120,6 @@
- if not obj['CKA_LABEL'] in trust or not trust[obj['CKA_LABEL']]:
- continue
-
-- cert = x509.load_der_x509_certificate(obj['CKA_VALUE'])
-- if cert.not_valid_after < datetime.datetime.now():
-- print('!'*74)
-- print('Trusted but expired certificate found: %s' % obj['CKA_LABEL'])
-- print('!'*74)
--
- bname = obj['CKA_LABEL'][1:-1].replace('/', '_')\
- .replace(' ', '_')\
- .replace('(', '=')\