[openssl/openssl] 3b804c: remove redundant free of NULL

Pauli noreply at github.com
Tue Oct 3 07:56:29 UTC 2023


  Branch: refs/heads/openssl-3.1
  Home:   https://github.com/openssl/openssl
  Commit: 3b804c513d8d586ba8df064ee7893c10f0a0759c
      https://github.com/openssl/openssl/commit/3b804c513d8d586ba8df064ee7893c10f0a0759c
  Author: Pauli <pauli at openssl.org>
  Date:   2023-10-03 (Tue, 03 Oct 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/22210)


  Commit: bc347a35d025b989abfeb8ef556f895cb1ee9381
      https://github.com/openssl/openssl/commit/bc347a35d025b989abfeb8ef556f895cb1ee9381
  Author: Pauli <pauli at openssl.org>
  Date:   2023-10-03 (Tue, 03 Oct 2023)

  Changed paths:
    M crypto/rand/rand_lib.c
    M include/crypto/rand.h
    M include/openssl/core_names.h
    M providers/fips/self_test.c
    M providers/fips/self_test_kats.c
    M providers/implementations/rands/test_rng.c

  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/22210)


  Commit: 354053395fbd20e5efb584427b5da9be9231fd93
      https://github.com/openssl/openssl/commit/354053395fbd20e5efb584427b5da9be9231fd93
  Author: Pauli <pauli at openssl.org>
  Date:   2023-10-03 (Tue, 03 Oct 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/22210)


  Commit: 6b3f7f0b28afc3e25ce505e5fde2d9f2b50cdb9e
      https://github.com/openssl/openssl/commit/6b3f7f0b28afc3e25ce505e5fde2d9f2b50cdb9e
  Author: Matt Caswell <matt at openssl.org>
  Date:   2023-10-03 (Tue, 03 Oct 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/22210)


  Commit: e07093f222e2bdc6d1f7ee797d6bb840af085701
      https://github.com/openssl/openssl/commit/e07093f222e2bdc6d1f7ee797d6bb840af085701
  Author: Pauli <pauli at openssl.org>
  Date:   2023-10-03 (Tue, 03 Oct 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/22210)


Compare: https://github.com/openssl/openssl/compare/0d53f0e5a1d3...e07093f222e2


More information about the openssl-commits mailing list