[openssl/openssl] 9b796c: After initializing a provider, check if its output...

Richard Levitte noreply at github.com
Mon Dec 4 14:18:59 UTC 2023


  Branch: refs/heads/openssl-3.0
  Home:   https://github.com/openssl/openssl
  Commit: 9b796cfb82dc65eef22bcd344f6b3e8318f33887
      https://github.com/openssl/openssl/commit/9b796cfb82dc65eef22bcd344f6b3e8318f33887
  Author: Richard Levitte <levitte at openssl.org>
  Date:   2023-12-04 (Mon, 04 Dec 2023)

  Changed paths:
    M crypto/provider_core.c

  Log Message:
  -----------
  After initializing a provider, check if its output dispatch table is NULL

If the provider's output dispatch table is NULL, trying to parse it causes a
crash.  Let's not do that.

Reviewed-by: Dmitry Belyavskiy <beldmit at gmail.com>
Reviewed-by: Todd Short <todd.short at me.com>
(Merged from https://github.com/openssl/openssl/pull/22866)

(cherry picked from commit 8fa65a6648554087a67102372e5e6c8b0fae0158)


  Commit: c75d6ee8d319bc1b5ddc5a8ed1b6e1cb74f31439
      https://github.com/openssl/openssl/commit/c75d6ee8d319bc1b5ddc5a8ed1b6e1cb74f31439
  Author: Richard Levitte <levitte at openssl.org>
  Date:   2023-12-04 (Mon, 04 Dec 2023)

  Changed paths:
    M test/build.info
    A test/p_minimal.c
    M test/recipes/04-test_provider.t

  Log Message:
  -----------
  Add a minimal test provider

We test its validity by trying to load it.

Reviewed-by: Dmitry Belyavskiy <beldmit at gmail.com>
Reviewed-by: Todd Short <todd.short at me.com>
(Merged from https://github.com/openssl/openssl/pull/22866)

(cherry picked from commit 31c2c12f2dada75c334f6a9aa60c8424cf4fd040)


  Commit: 1e239a9611f0ea8588e774db3cc5015a63c2385c
      https://github.com/openssl/openssl/commit/1e239a9611f0ea8588e774db3cc5015a63c2385c
  Author: Richard Levitte <levitte at openssl.org>
  Date:   2023-12-04 (Mon, 04 Dec 2023)

  Changed paths:
    M apps/list.c

  Log Message:
  -----------
  Make 'openssl list' less sensitive for providers without params

When a provider can't return parameters, make that a warning instead of an
error, and continue to list further providers.

Reviewed-by: Dmitry Belyavskiy <beldmit at gmail.com>
Reviewed-by: Todd Short <todd.short at me.com>
(Merged from https://github.com/openssl/openssl/pull/22866)

(cherry picked from commit 7ebaab7689f66ede1f960c42be3446922e3f5e21)


Compare: https://github.com/openssl/openssl/compare/a72abc4ae908...1e239a9611f0


More information about the openssl-commits mailing list