diff options
| -rw-r--r-- | src/lib/libcrypto/format-pem.pl | 10 |
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 $ | 2 | 4 $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 | |||
| 18 | use strict; | 26 | use strict; |
| 19 | use warnings; | 27 | use warnings; |
| 20 | 28 | ||
