[openssl] master update

Dr. Paul Dale pauli at openssl.org
Thu Sep 2 02:56:01 UTC 2021


The branch master has been updated
       via  473664aafdff1f60db99929bdd43c2a9b26d14cd (commit)
      from  3a1fa0116a92235ba200228e4bb60d6a3a7f4113 (commit)


- Log -----------------------------------------------------------------
commit 473664aafdff1f60db99929bdd43c2a9b26d14cd
Author: a1346054 <36859588+a1346054 at users.noreply.github.com>
Date:   Thu Aug 19 11:05:15 2021 +0000

    always use the same perl in $PATH
    
    Different tests may use unexpectedly different versions of perl,
    depending on whether they hardcode the path to the perl executable or if
    they resolve the path from the environment. This fixes it so that the
    same perl is always used.
    
    Fix some trailing whitespace and spelling mistakes as well.
    
    CLA: trivial
    
    Reviewed-by: Tomas Mraz <tomas at openssl.org>
    Reviewed-by: Paul Dale <pauli at openssl.org>
    (Merged from https://github.com/openssl/openssl/pull/16362)

-----------------------------------------------------------------------

Summary of changes:
 .github/ISSUE_TEMPLATE.md                 | 4 ++--
 .github/ISSUE_TEMPLATE/bug_report.md      | 4 ++--
 .github/ISSUE_TEMPLATE/feature_request.md | 4 ++--
 .github/workflows/cross-compiles.yml      | 4 ++--
 .github/workflows/run-checker-ci.yml      | 1 -
 ACKNOWLEDGEMENTS.md                       | 1 -
 Configurations/unix-checker.pm            | 2 +-
 Configurations/windows-checker.pm         | 2 +-
 INSTALL.md                                | 2 +-
 dev/release-aux/fix-title.pl              | 2 +-
 dev/release-aux/release-state-fn.sh       | 3 +--
 dev/release.sh                            | 4 ++--
 test/README-dev.md                        | 4 ++--
 test/recipes/06-test_algorithmid.t        | 4 ++--
 test/recipes/06-test_rdrand_sanity.t      | 4 ++--
 test/recipes/80-test_cipherbytes.t        | 2 +-
 test/recipes/80-test_cipherlist.t         | 2 +-
 test/recipes/80-test_ciphername.t         | 2 +-
 test/recipes/90-test_includes.t           | 2 +-
 util/check-format.pl                      | 2 +-
 util/echo.pl                              | 2 +-
 util/fips-checksums.sh                    | 4 ++--
 util/fix-deprecation                      | 2 +-
 23 files changed, 30 insertions(+), 33 deletions(-)

diff --git a/.github/ISSUE_TEMPLATE.md b/.github/ISSUE_TEMPLATE.md
index 7a89c4ef13..942a8fc5c6 100644
--- a/.github/ISSUE_TEMPLATE.md
+++ b/.github/ISSUE_TEMPLATE.md
@@ -1,7 +1,7 @@
 <!--
 NOTE:
 
-    If you're asking about how to use OpenSSL, this isn't the right 
+    If you're asking about how to use OpenSSL, this isn't the right
     forum.  Please see our User Support resources:
     https://github.com/openssl/openssl/blob/master/SUPPORT.md
 
@@ -18,7 +18,7 @@ output and code, like this:
 
     ```
     #include <stdio.h>
-    
+
     int main() {
         int foo = 1;
         printf("%d\n", foo);
diff --git a/.github/ISSUE_TEMPLATE/bug_report.md b/.github/ISSUE_TEMPLATE/bug_report.md
index 5cc780b6de..4245a14b80 100644
--- a/.github/ISSUE_TEMPLATE/bug_report.md
+++ b/.github/ISSUE_TEMPLATE/bug_report.md
@@ -11,7 +11,7 @@ please take the time to read the following lines before posting it.
 
 NOTE:
 
-    If you're asking about how to use OpenSSL, this isn't the right 
+    If you're asking about how to use OpenSSL, this isn't the right
     forum.  Please see our User Support resources:
     https://github.com/openssl/openssl/blob/master/SUPPORT.md
 
@@ -44,7 +44,7 @@ output and code, like this:
 
     ```
     #include <stdio.h>
-    
+
     int main() {
         int foo = 1;
         printf("%d\n", foo);
diff --git a/.github/ISSUE_TEMPLATE/feature_request.md b/.github/ISSUE_TEMPLATE/feature_request.md
index 4e4ed54cf2..f94c5dc406 100644
--- a/.github/ISSUE_TEMPLATE/feature_request.md
+++ b/.github/ISSUE_TEMPLATE/feature_request.md
@@ -11,7 +11,7 @@ please take the time to read the following lines before posting it.
 
 NOTE:
 
-    If you're asking about how to use OpenSSL, this isn't the right 
+    If you're asking about how to use OpenSSL, this isn't the right
     forum.  Please see our User Support resources:
     https://github.com/openssl/openssl/blob/master/SUPPORT.md
 
@@ -25,7 +25,7 @@ output and code, like this:
 
     ```
     #include <stdio.h>
-    
+
     int main() {
         int foo = 1;
         printf("%d\n", foo);
diff --git a/.github/workflows/cross-compiles.yml b/.github/workflows/cross-compiles.yml
index 514a4fbabe..576a9d3b18 100644
--- a/.github/workflows/cross-compiles.yml
+++ b/.github/workflows/cross-compiles.yml
@@ -17,8 +17,8 @@ jobs:
         #   fips:   set to "no" to disable building FIPS, leave unset to
         #           build the FIPS provider.
         #   tests: omit this to run all the tests using QEMU, set it to "none"
-        #          to never run the tests, otherwise it's value is passed to
-        #          the "make test" command to allow selectiving disabling of
+        #          to never run the tests, otherwise its value is passed to
+        #          the "make test" command to allow selective disabling of
         #          tests.
         platform: [
           {
diff --git a/.github/workflows/run-checker-ci.yml b/.github/workflows/run-checker-ci.yml
index 3c09194d0c..5a6dd4dc85 100644
--- a/.github/workflows/run-checker-ci.yml
+++ b/.github/workflows/run-checker-ci.yml
@@ -1,4 +1,3 @@
-
 # Jobs run per pull request submission
 name: Run-checker CI
 on: [pull_request, push]
diff --git a/ACKNOWLEDGEMENTS.md b/ACKNOWLEDGEMENTS.md
index dae83457db..a4dab0c4ff 100644
--- a/ACKNOWLEDGEMENTS.md
+++ b/ACKNOWLEDGEMENTS.md
@@ -4,4 +4,3 @@ Acknowlegements
 Please see our [Thanks!][] page for the current acknowledgements.
 
 [Thanks!]: https://www.openssl.org/community/thanks.html
-
diff --git a/Configurations/unix-checker.pm b/Configurations/unix-checker.pm
index b39b0eb7cb..d0f05a0d35 100644
--- a/Configurations/unix-checker.pm
+++ b/Configurations/unix-checker.pm
@@ -1,4 +1,4 @@
-#! /usr/bin/perl
+#! /usr/bin/env perl
 
 use Config;
 
diff --git a/Configurations/windows-checker.pm b/Configurations/windows-checker.pm
index 4b7105df33..97303ed7d7 100644
--- a/Configurations/windows-checker.pm
+++ b/Configurations/windows-checker.pm
@@ -1,4 +1,4 @@
-#! /usr/bin/perl
+#! /usr/bin/env perl
 
 use Config;
 
diff --git a/INSTALL.md b/INSTALL.md
index 722a88bf04..5d53cef1aa 100644
--- a/INSTALL.md
+++ b/INSTALL.md
@@ -296,7 +296,7 @@ API Level
 Build the OpenSSL libraries to support the API for the specified version.
 If [no-deprecated](#no-deprecated) is also given, don't build with support
 for deprecated APIs in or below the specified version number.  For example,
-addding
+adding
 
     --api=1.1.0 no-deprecated
 
diff --git a/dev/release-aux/fix-title.pl b/dev/release-aux/fix-title.pl
index d3f00b984b..6fe256ebc4 100644
--- a/dev/release-aux/fix-title.pl
+++ b/dev/release-aux/fix-title.pl
@@ -1,4 +1,4 @@
-#! /usr/bin/perl
+#! /usr/bin/env perl
 
 BEGIN { my $prev }
 ($_ = $prev) =~ s|^( *)(.*)$|"$1" . '=' x length($2)|e
diff --git a/dev/release-aux/release-state-fn.sh b/dev/release-aux/release-state-fn.sh
index f495cb8536..635b82a8b9 100644
--- a/dev/release-aux/release-state-fn.sh
+++ b/dev/release-aux/release-state-fn.sh
@@ -64,7 +64,7 @@ next_release_state () {
 
         case "$before+$next" in
             # MAKING ALPHA RELEASES ##################################
-            
+
             # Alpha releases can't be made from beta versions or real versions
             beta*+alpha | +alpha )
                 echo >&2 "Invalid state for an alpha release"
@@ -199,4 +199,3 @@ next_release_state () {
         $DEBUG >&2 "DEBUG[next_release_state]: END: \$RELEASE_DATE=$RELEASE_DATE"
     done
 }
-
diff --git a/dev/release.sh b/dev/release.sh
index 351ddc5528..4b778f3b75 100755
--- a/dev/release.sh
+++ b/dev/release.sh
@@ -471,7 +471,7 @@ for fixup in "$HERE/dev/release-aux"/fixup-*-postrelease.pl; do
         perl -pi $fixup $file
 done
 
-$VERBOSE "== Comitting updates"
+$VERBOSE "== Committing updates"
 git add -u
 git commit $git_quiet -m "Prepare for $release_text"
 if [ -n "$reviewers" ]; then
@@ -502,7 +502,7 @@ if $do_branch; then
             perl -pi $fixup $file
     done
 
-    $VERBOSE "== Comitting updates"
+    $VERBOSE "== Committing updates"
     git add -u
     git commit $git_quiet -m "Prepare for $release_text"
     if [ -n "$reviewers" ]; then
diff --git a/test/README-dev.md b/test/README-dev.md
index 56114fdc34..d015bcf5bf 100644
--- a/test/README-dev.md
+++ b/test/README-dev.md
@@ -44,7 +44,7 @@ A recipe that just runs a test executable
 
 A script that just runs a program looks like this:
 
-    #! /usr/bin/perl
+    #! /usr/bin/env perl
 
     use OpenSSL::Test::Simple;
 
@@ -67,7 +67,7 @@ documentation.  For OpenSSL::Test, do `perldoc util/perl/OpenSSL/Test.pm`.
 
 A script to start from could be this:
 
-    #! /usr/bin/perl
+    #! /usr/bin/env perl
 
     use strict;
     use warnings;
diff --git a/test/recipes/06-test_algorithmid.t b/test/recipes/06-test_algorithmid.t
index f70c1d2a23..8b98efe909 100644
--- a/test/recipes/06-test_algorithmid.t
+++ b/test/recipes/06-test_algorithmid.t
@@ -1,7 +1,7 @@
-#! /usr/bin/perl
+#! /usr/bin/env perl
 
 # Copyright 2018-2021 The OpenSSL Project Authors. All Rights Reserved.
-# 
+#
 # Licensed under the Apache License 2.0 (the "License").  You may not use
 # this file except in compliance with the License.  You can obtain a copy
 # in the file LICENSE in the source distribution or at
diff --git a/test/recipes/06-test_rdrand_sanity.t b/test/recipes/06-test_rdrand_sanity.t
index 8a33b8ded8..a20e09e778 100644
--- a/test/recipes/06-test_rdrand_sanity.t
+++ b/test/recipes/06-test_rdrand_sanity.t
@@ -1,7 +1,7 @@
-#! /usr/bin/perl
+#! /usr/bin/env perl
 
 # Copyright 2018-2021 The OpenSSL Project Authors. All Rights Reserved.
-# 
+#
 # Licensed under the Apache License 2.0 (the "License").  You may not use
 # this file except in compliance with the License.  You can obtain a copy
 # in the file LICENSE in the source distribution or at
diff --git a/test/recipes/80-test_cipherbytes.t b/test/recipes/80-test_cipherbytes.t
index 0e99f10216..dc576fdcbd 100644
--- a/test/recipes/80-test_cipherbytes.t
+++ b/test/recipes/80-test_cipherbytes.t
@@ -1,4 +1,4 @@
-#! /usr/bin/perl
+#! /usr/bin/env perl
 #
 # Copyright 2017 The OpenSSL Project Authors. All Rights Reserved.
 #
diff --git a/test/recipes/80-test_cipherlist.t b/test/recipes/80-test_cipherlist.t
index cf821ad632..2deda30eec 100644
--- a/test/recipes/80-test_cipherlist.t
+++ b/test/recipes/80-test_cipherlist.t
@@ -1,4 +1,4 @@
-#! /usr/bin/perl
+#! /usr/bin/env perl
 #
 # Copyright 2016-2018 The OpenSSL Project Authors. All Rights Reserved.
 #
diff --git a/test/recipes/80-test_ciphername.t b/test/recipes/80-test_ciphername.t
index 72a96cbcd6..a3227cee4d 100644
--- a/test/recipes/80-test_ciphername.t
+++ b/test/recipes/80-test_ciphername.t
@@ -1,4 +1,4 @@
-#! /usr/bin/perl
+#! /usr/bin/env perl
 #
 # Copyright 2017 The OpenSSL Project Authors. All Rights Reserved.
 # Copyright 2017 BaishanCloud. All rights reserved.
diff --git a/test/recipes/90-test_includes.t b/test/recipes/90-test_includes.t
index 13c5c84202..b931d4ec4a 100644
--- a/test/recipes/90-test_includes.t
+++ b/test/recipes/90-test_includes.t
@@ -1,4 +1,4 @@
-#! /usr/bin/perl
+#! /usr/bin/env perl
 
 use strict;
 use warnings;
diff --git a/util/check-format.pl b/util/check-format.pl
index 72cf53d189..62471e3c68 100755
--- a/util/check-format.pl
+++ b/util/check-format.pl
@@ -1,4 +1,4 @@
-#!/usr/bin/perl
+#! /usr/bin/env perl
 #
 # Copyright 2020-2021 The OpenSSL Project Authors. All Rights Reserved.
 # Copyright Siemens AG 2019-2020
diff --git a/util/echo.pl b/util/echo.pl
index d90e52129b..8c2616a3bc 100644
--- a/util/echo.pl
+++ b/util/echo.pl
@@ -1,4 +1,4 @@
-#! /usr/bin/perl
+#! /usr/bin/env perl
 
 use strict;
 use warnings;
diff --git a/util/fips-checksums.sh b/util/fips-checksums.sh
index aff8d0ccce..be0453e322 100755
--- a/util/fips-checksums.sh
+++ b/util/fips-checksums.sh
@@ -15,13 +15,13 @@ for f in "$@"; do
                 | openssl sha256 -r \
                 | sed -e "s| \\*stdin|  $f|"
             ;;
-        *.pl ) 
+        *.pl )
             cat "$f" \
                 | $HERE/lang-compress.pl 'perl' \
                 | openssl sha256 -r \
                 | sed -e "s| \\*stdin|  $f|"
             ;;
-        *.S ) 
+        *.S )
             cat "$f" \
                 | $HERE/lang-compress.pl 'S' \
                 | openssl sha256 -r \
diff --git a/util/fix-deprecation b/util/fix-deprecation
index a87d4fb9d1..59439eda6d 100644
--- a/util/fix-deprecation
+++ b/util/fix-deprecation
@@ -1,4 +1,4 @@
-#! /usr/bin/perl
+#! /usr/bin/env perl
 
 use strict;
 use warnings;


More information about the openssl-commits mailing list