summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorsthen <>2019-03-13 11:49:42 +0000
committersthen <>2019-03-13 11:49:42 +0000
commit06abece690d53a96a5357c7304e3672e1601f54a (patch)
treeeb9a286ae312af5a4edc122539e8a695be04d5a9
parentc8b032d94e020218d5131e77fbf235f86e40d682 (diff)
downloadopenbsd-06abece690d53a96a5357c7304e3672e1601f54a.tar.gz
openbsd-06abece690d53a96a5357c7304e3672e1601f54a.tar.bz2
openbsd-06abece690d53a96a5357c7304e3672e1601f54a.zip
add a comment to format-pem.pl documenting typical steps to update
cert.pem from Mozilla NSS.
-rw-r--r--src/lib/libcrypto/format-pem.pl10
1 files changed, 9 insertions, 1 deletions
diff --git a/src/lib/libcrypto/format-pem.pl b/src/lib/libcrypto/format-pem.pl
index 6134d656b7..eb2d2a4a3d 100644
--- a/src/lib/libcrypto/format-pem.pl
+++ b/src/lib/libcrypto/format-pem.pl
@@ -1,5 +1,5 @@
1#!/usr/bin/perl 1#!/usr/bin/perl
2# $OpenBSD: format-pem.pl,v 1.3 2018/12/16 11:56:53 sthen Exp $ 24 $OpenBSD: format-pem.pl,v 1.4 2019/03/13 11:49:42 sthen Exp $
3# 3#
4# Copyright (c) 2016 Stuart Henderson <sthen@openbsd.org> 4# Copyright (c) 2016 Stuart Henderson <sthen@openbsd.org>
5# 5#
@@ -15,6 +15,14 @@
15# ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF 15# ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
16# OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. 16# OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
17 17
18# To update cert.pem from Mozilla NSS:
19# - perl format-pem.pl < cert.pem > /dev/null 2> calist.old
20# - cd /usr/ports/net/curl; make NO_DEPENDS=Yes patch; curldir=`make show=WRKSRC`; cd -
21# - pkg_add curl; perl $curldir/lib/mk-ca-bundle.pl
22# - perl format-pem.pl < ca-bundle.crt > certnew.pem 2> calist.new
23# Summarize additions/removals for review:
24# - diff calist.old calist.new
25
18use strict; 26use strict;
19use warnings; 27use warnings;
20 28