[openssl/openssl] ba8e20: Only call OPENSSL_init_crypto on fetch if using th...

Matt Caswell noreply at github.com
Tue Feb 21 23:07:30 UTC 2023


  Branch: refs/heads/openssl-3.1
  Home:   https://github.com/openssl/openssl
  Commit: ba8e2074fe3fc96e2481dfab4e9dc3e64c9f61b5
      https://github.com/openssl/openssl/commit/ba8e2074fe3fc96e2481dfab4e9dc3e64c9f61b5
  Author: Matt Caswell <matt at openssl.org>
  Date:   2023-02-22 (Wed, 22 Feb 2023)

  Changed paths:
    M crypto/property/property.c

  Log Message:
  -----------
  Only call OPENSSL_init_crypto on fetch if using the default libctx

There is no point in calling OPENSSL_init_crypto() unless we are actually
going to be using the default libctx.

Fixes #20315

Reviewed-by: Dmitry Belyavskiy <beldmit at gmail.com>
Reviewed-by: Paul Dale <pauli at openssl.org>
(Merged from https://github.com/openssl/openssl/pull/20341)

(cherry picked from commit 7a6a0baa591e3d04831ed0f468c72dc45feba452)


  Commit: ed8d2c9948f25988feb854e805b3403f592d7359
      https://github.com/openssl/openssl/commit/ed8d2c9948f25988feb854e805b3403f592d7359
  Author: Matt Caswell <matt at openssl.org>
  Date:   2023-02-22 (Wed, 22 Feb 2023)

  Changed paths:
    M test/build.info
    A test/nodefltctxtest.c
    A test/null.cnf
    A test/recipes/04-test_nodefltctx.t

  Log Message:
  -----------
  Add a test for no initialisation of the default config file

Reviewed-by: Dmitry Belyavskiy <beldmit at gmail.com>
Reviewed-by: Paul Dale <pauli at openssl.org>
(Merged from https://github.com/openssl/openssl/pull/20341)

(cherry picked from commit 0aa7d7f42bc757a0993739b6cfdc8819a70d22ef)


Compare: https://github.com/openssl/openssl/compare/a57ab43975dc...ed8d2c9948f2


More information about the openssl-commits mailing list