summaryrefslogtreecommitdiff
path: root/www/chromium-uc/patches/extra/iridium-browser/net-cert-increase-default-key-length-for-newly-gener.patch
diff options
context:
space:
mode:
Diffstat (limited to 'www/chromium-uc/patches/extra/iridium-browser/net-cert-increase-default-key-length-for-newly-gener.patch')
-rw-r--r--www/chromium-uc/patches/extra/iridium-browser/net-cert-increase-default-key-length-for-newly-gener.patch23
1 files changed, 23 insertions, 0 deletions
diff --git a/www/chromium-uc/patches/extra/iridium-browser/net-cert-increase-default-key-length-for-newly-gener.patch b/www/chromium-uc/patches/extra/iridium-browser/net-cert-increase-default-key-length-for-newly-gener.patch
new file mode 100644
index 0000000..394a6da
--- /dev/null
+++ b/www/chromium-uc/patches/extra/iridium-browser/net-cert-increase-default-key-length-for-newly-gener.patch
@@ -0,0 +1,23 @@
1From 088a50b2fc66418294166b61f31925426b1a9c54 Mon Sep 17 00:00:00 2001
2From: Jan Engelhardt <jengelh@inai.de>
3Date: Mon, 15 Sep 2014 10:52:32 +0200
4Subject: [PATCH 12/66] net/cert: increase default key length for
5 newly-generated RSA keys
6
7Should we add something for chrome://settings, or just leave
8it as hidden as it was before?
9---
10 net/cert/x509_util.cc | 2 +-
11 1 file changed, 1 insertion(+), 1 deletion(-)
12
13--- net/cert/x509_util.cc.orig
14+++ net/cert/x509_util.cc
15@@ -241,7 +241,7 @@ bool GetTLSServerEndPointChannelBinding(
16 }
17
18 // RSA keys created by CreateKeyAndSelfSignedCert will be of this length.
19-static const uint16_t kRSAKeyLength = 1024;
20+static const uint16_t kRSAKeyLength = 2048;
21
22 // Certificates made by CreateKeyAndSelfSignedCert will be signed using this
23 // digest algorithm.