From 06abece690d53a96a5357c7304e3672e1601f54a Mon Sep 17 00:00:00 2001 From: sthen <> Date: Wed, 13 Mar 2019 11:49:42 +0000 Subject: add a comment to format-pem.pl documenting typical steps to update cert.pem from Mozilla NSS. --- src/lib/libcrypto/format-pem.pl | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) (limited to 'src/lib/libcrypto') 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 @@ #!/usr/bin/perl -# $OpenBSD: format-pem.pl,v 1.3 2018/12/16 11:56:53 sthen Exp $ +4 $OpenBSD: format-pem.pl,v 1.4 2019/03/13 11:49:42 sthen Exp $ # # Copyright (c) 2016 Stuart Henderson # @@ -15,6 +15,14 @@ # ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF # OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. +# To update cert.pem from Mozilla NSS: +# - perl format-pem.pl < cert.pem > /dev/null 2> calist.old +# - cd /usr/ports/net/curl; make NO_DEPENDS=Yes patch; curldir=`make show=WRKSRC`; cd - +# - pkg_add curl; perl $curldir/lib/mk-ca-bundle.pl +# - perl format-pem.pl < ca-bundle.crt > certnew.pem 2> calist.new +# Summarize additions/removals for review: +# - diff calist.old calist.new + use strict; use warnings; -- cgit v1.2.3-55-g6feb