summaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorBen Noordhuis <info@bnoordhuis.nl>2019-05-20 11:09:02 +0200
committerMichaƫl Zasso <targos@protonmail.com>2019-05-20 13:20:20 +0200
commitbdd75d062202392aef127f63390b646116652ac4 (patch)
tree7b751d0d58bce23f8aeb6144f14ce72ad710dc8d /tools
parenta8a11862e075638e6ced37231fea63e3d752cb05 (diff)
downloadandroid-node-v8-bdd75d062202392aef127f63390b646116652ac4.tar.gz
android-node-v8-bdd75d062202392aef127f63390b646116652ac4.tar.bz2
android-node-v8-bdd75d062202392aef127f63390b646116652ac4.zip
tls: expose built-in root certificates
Fixes: https://github.com/nodejs/node/issues/25824 PR-URL: https://github.com/nodejs/node/pull/26415 Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: Matteo Collina <matteo.collina@gmail.com> Reviewed-By: Rich Trott <rtrott@gmail.com> Reviewed-By: Ron Korving <ron@ronkorving.nl> Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de> Reviewed-By: Sam Roberts <vieuxtech@gmail.com> Reviewed-By: Vse Mozhet Byt <vsemozhetbyt@gmail.com>
Diffstat (limited to 'tools')
-rwxr-xr-xtools/mk-ca-bundle.pl2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/mk-ca-bundle.pl b/tools/mk-ca-bundle.pl
index 30301fff9a..2b07542b4d 100755
--- a/tools/mk-ca-bundle.pl
+++ b/tools/mk-ca-bundle.pl
@@ -265,7 +265,7 @@ while (<TXT>) {
$encoded =~ s/(.{1,${opt_w}})/"$1\\n"\n/g;
my $pem = "\"-----BEGIN CERTIFICATE-----\\n\"\n"
. $encoded
- . "\"-----END CERTIFICATE-----\\n\",\n";
+ . "\"-----END CERTIFICATE-----\",\n";
print CRT "\n/* $caname */\n";
my $maxStringLength = length($caname);