diff options
author | Stuart Henderson <sthen@cvs.openbsd.org> | 2019-03-13 11:49:43 +0000 |
---|---|---|
committer | Stuart Henderson <sthen@cvs.openbsd.org> | 2019-03-13 11:49:43 +0000 |
commit | 58dc0777301e67d0856805ec76a14cd2bd425968 (patch) | |
tree | 75ebf7e0da91419d1a82e6b8fc790dbe6967c8fb /lib/libcrypto/format-pem.pl | |
parent | 8da47afac2e098ddac583adf5935e6a2b9938994 (diff) |
add a comment to format-pem.pl documenting typical steps to update
cert.pem from Mozilla NSS.
Diffstat (limited to 'lib/libcrypto/format-pem.pl')
-rw-r--r-- | lib/libcrypto/format-pem.pl | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/lib/libcrypto/format-pem.pl b/lib/libcrypto/format-pem.pl index 6134d656b74..eb2d2a4a3d8 100644 --- a/lib/libcrypto/format-pem.pl +++ b/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 <sthen@openbsd.org> # @@ -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; |