From 3b26749da13329eb68c0641d15e5c6812e783c21 Mon Sep 17 00:00:00 2001
From: sthen <>
Date: Sun, 3 Jul 2022 15:02:04 +0000
Subject: Update instructions for using curl's mk-ca-bundle script.

---
 src/lib/libcrypto/format-pem.pl | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

(limited to 'src/lib')

diff --git a/src/lib/libcrypto/format-pem.pl b/src/lib/libcrypto/format-pem.pl
index da4287b123..0202403204 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.5 2019/04/02 12:30:20 sthen Exp $
+# $OpenBSD: format-pem.pl,v 1.6 2022/07/03 15:02:04 sthen Exp $
 #
 # Copyright (c) 2016 Stuart Henderson <sthen@openbsd.org>
 #
@@ -15,10 +15,10 @@
 # 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:
+# To update cert.pem based on the certificates included in Mozilla NSS,
+# pkg_add curl for mk-ca-bundle(1), and:
 # - 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
+# - mk-ca-bundle
 # - perl format-pem.pl < ca-bundle.crt > certnew.pem 2> calist.new
 # Summarize additions/removals for review:
 # - diff calist.old calist.new
-- 
cgit v1.2.3-55-g6feb