[openssl/openssl] c37184: remove redundant free of NULL

Matt Caswell noreply at github.com
Wed Sep 27 16:34:38 UTC 2023


  Branch: refs/heads/master
  Home:   https://github.com/openssl/openssl
  Commit: c37184f502eb7341e3095ef358a9ebd21facbc46
      https://github.com/openssl/openssl/commit/c37184f502eb7341e3095ef358a9ebd21facbc46
  Author: Pauli <pauli at openssl.org>
  Date:   2023-09-27 (Wed, 27 Sep 2023)

  Changed paths:
    M providers/fips/fipsprov.c

  Log Message:
  -----------
  remove redundant free of NULL

Reviewed-by: Tomas Mraz <tomas at openssl.org>
Reviewed-by: Matt Caswell <matt at openssl.org>
(Merged from https://github.com/openssl/openssl/pull/21964)


  Commit: 6935101354e1ebcb43aa8afb158603f94c0f9bc6
      https://github.com/openssl/openssl/commit/6935101354e1ebcb43aa8afb158603f94c0f9bc6
  Author: Pauli <pauli at openssl.org>
  Date:   2023-09-27 (Wed, 27 Sep 2023)

  Changed paths:
    M providers/implementations/rands/drbg.c

  Log Message:
  -----------
  fix indentation

Reviewed-by: Tomas Mraz <tomas at openssl.org>
Reviewed-by: Matt Caswell <matt at openssl.org>
(Merged from https://github.com/openssl/openssl/pull/21964)


  Commit: 54e60d2a05f86e947dface08e5c20b831be17bf8
      https://github.com/openssl/openssl/commit/54e60d2a05f86e947dface08e5c20b831be17bf8
  Author: Pauli <pauli at openssl.org>
  Date:   2023-09-27 (Wed, 27 Sep 2023)

  Changed paths:
    M .github/workflows/provider-compatibility.yml

  Log Message:
  -----------
  Provider cross version checks warning

Add a warning note to the provider cross version checks indicating that a
pull request branch will not be used if execution is set to on pull request.

Reviewed-by: Tomas Mraz <tomas at openssl.org>
Reviewed-by: Matt Caswell <matt at openssl.org>
(Merged from https://github.com/openssl/openssl/pull/21964)


  Commit: fffa78c2fd01accd97c9229018d4c380f7a20335
      https://github.com/openssl/openssl/commit/fffa78c2fd01accd97c9229018d4c380f7a20335
  Author: Pauli <pauli at openssl.org>
  Date:   2023-09-27 (Wed, 27 Sep 2023)

  Changed paths:
    M crypto/rand/rand_lib.c
    M include/crypto/rand.h
    M providers/fips/self_test.c
    M providers/fips/self_test_kats.c
    M providers/implementations/rands/test_rng.c
    M util/perl/OpenSSL/paramnames.pm

  Log Message:
  -----------
  fips selftest: avoid relying on a real RNG for self tests

Rather than instantiate the private and primary DRBGs during the
selftest, instead use a test RNG.  This leaves the DRBG setup
pristine and permits later replacement of the seed source despite
the very early running power up self tests.

Reviewed-by: Tomas Mraz <tomas at openssl.org>
Reviewed-by: Matt Caswell <matt at openssl.org>
(Merged from https://github.com/openssl/openssl/pull/21964)


  Commit: a9483b8aa00753a2a9665273c0e376f3c1d36e65
      https://github.com/openssl/openssl/commit/a9483b8aa00753a2a9665273c0e376f3c1d36e65
  Author: Pauli <pauli at openssl.org>
  Date:   2023-09-27 (Wed, 27 Sep 2023)

  Changed paths:
    M crypto/err/openssl.txt
    M crypto/rand/rand_err.c
    M include/crypto/randerr.h
    M include/openssl/randerr.h

  Log Message:
  -----------
  rand: add extra error code

Reviewed-by: Tomas Mraz <tomas at openssl.org>
Reviewed-by: Matt Caswell <matt at openssl.org>
(Merged from https://github.com/openssl/openssl/pull/21964)


  Commit: 4cde7585ce8eb53682256ba79e6af1949498fbfe
      https://github.com/openssl/openssl/commit/4cde7585ce8eb53682256ba79e6af1949498fbfe
  Author: Pauli <pauli at openssl.org>
  Date:   2023-09-27 (Wed, 27 Sep 2023)

  Changed paths:
    M crypto/initthread.c
    M crypto/provider_core.c
    M crypto/rand/prov_seed.c
    M crypto/rand/rand_lib.c
    M doc/internal/man3/ossl_rand_get_entropy.pod
    M doc/man7/EVP_RAND-TEST-RAND.pod
    M doc/man7/provider-base.pod
    M include/crypto/rand.h
    M include/openssl/core_dispatch.h
    M providers/baseprov.c
    M providers/common/provider_seeding.c

  Log Message:
  -----------
  fips: use seed source requested

Fixes #21909

Reviewed-by: Tomas Mraz <tomas at openssl.org>
Reviewed-by: Matt Caswell <matt at openssl.org>
(Merged from https://github.com/openssl/openssl/pull/21964)


  Commit: 1a18596149a325a679f8244bac52b6796dfcc48e
      https://github.com/openssl/openssl/commit/1a18596149a325a679f8244bac52b6796dfcc48e
  Author: Pauli <pauli at openssl.org>
  Date:   2023-09-27 (Wed, 27 Sep 2023)

  Changed paths:
    M test/evp_test.c

  Log Message:
  -----------
  evp_test: recondition cipher dupctx FIPS version check.

Until the cipher dupctx is properly implemented in 3.1 and 3.0 the check is
wrong.  This should be reverted once the implemenation has been done.

Reviewed-by: Tomas Mraz <tomas at openssl.org>
Reviewed-by: Matt Caswell <matt at openssl.org>
(Merged from https://github.com/openssl/openssl/pull/21964)


  Commit: be203ea3d3a60a881993d1f7552084996d34ba0a
      https://github.com/openssl/openssl/commit/be203ea3d3a60a881993d1f7552084996d34ba0a
  Author: Matt Caswell <matt at openssl.org>
  Date:   2023-09-27 (Wed, 27 Sep 2023)

  Changed paths:
    M crypto/initthread.c
    M include/crypto/context.h
    M providers/fips/fipsprov.c

  Log Message:
  -----------
  Fix a mem leak when the FIPS provider is used in a different thread

We were neglecting to register the main thread to receive thread stop
notifications. This is important if the thread that starts the FIPS
provider is not the same one that is used when OPENSSL_cleanup() is
called.

Reviewed-by: Paul Dale <pauli at openssl.org>
Reviewed-by: Tomas Mraz <tomas at openssl.org>
(Merged from https://github.com/openssl/openssl/pull/21964)


Compare: https://github.com/openssl/openssl/compare/91bc783a93a2...be203ea3d3a6


More information about the openssl-commits mailing list