[openssl/openssl] 5c6936: Add tests for trace_api.

Tomáš Mráz noreply at github.com
Wed Jan 11 14:10:30 UTC 2023


  Branch: refs/heads/openssl-3.0
  Home:   https://github.com/openssl/openssl
  Commit: 5c6936e92df88828ed58c678f86b555b5413e858
      https://github.com/openssl/openssl/commit/5c6936e92df88828ed58c678f86b555b5413e858
  Author: Daniel Fiala <daniel at openssl.org>
  Date:   2023-01-11 (Wed, 11 Jan 2023)

  Changed paths:
    M crypto/trace.c
    M test/build.info
    A test/recipes/90-test_traceapi.t
    A test/trace_api_test.c

  Log Message:
  -----------
  Add tests for trace_api.

Fixes openssl#17422

Reviewed-by: Richard Levitte <levitte at openssl.org>
Reviewed-by: Tomas Mraz <tomas at openssl.org>

(cherry picked from commit fcff5bd43c85418cc4aa8052e3dc3dba344d763e)

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


  Commit: b4419635c992247cb4545054be664bf5218e7af4
      https://github.com/openssl/openssl/commit/b4419635c992247cb4545054be664bf5218e7af4
  Author: Dr. David von Oheimb <David.von.Oheimb at siemens.com>
  Date:   2023-01-11 (Wed, 11 Jan 2023)

  Changed paths:
    M test/trace_api_test.c

  Log Message:
  -----------
  test/trace_api_test.c: fix gcc error on -Werror=strict-prototypes

Reviewed-by: Tomas Mraz <tomas at openssl.org>
Reviewed-by: Todd Short <todd.short at me.com>
Reviewed-by: David von Oheimb <david.von.oheimb at siemens.com>

(cherry picked from commit 1fcd84c7017416a3c9461914d7a943591ad87a82)

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


  Commit: 318a27d4e9aa785d98b9f55e910cfed8fc571404
      https://github.com/openssl/openssl/commit/318a27d4e9aa785d98b9f55e910cfed8fc571404
  Author: Tomas Mraz <tomas at openssl.org>
  Date:   2023-01-11 (Wed, 11 Jan 2023)

  Changed paths:
    M crypto/trace.c
    M include/openssl/trace.h

  Log Message:
  -----------
  Avoid ifdefs in trace categories

The trace code assumes all categories are present and
the category numbers are equal to the index in the table.

Fixes #19915

Reviewed-by: Shane Lontis <shane.lontis at oracle.com>
Reviewed-by: Dmitry Belyavskiy <beldmit at gmail.com>

(cherry picked from commit 78bd646b2f6a18cf8515e05a5f3efadff03b3920)

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


  Commit: 7b807ad6eaa38e5c3a6795379cbe0245482b0d67
      https://github.com/openssl/openssl/commit/7b807ad6eaa38e5c3a6795379cbe0245482b0d67
  Author: Tomas Mraz <tomas at openssl.org>
  Date:   2023-01-11 (Wed, 11 Jan 2023)

  Changed paths:
    M test/trace_api_test.c

  Log Message:
  -----------
  Add testcase for OSSL_trace_set_callback()

Also test the OSSL_TRACE_CATEGORY_TRACE tracing - this fails
on address sanitizer runs without the fix for #19915

Reviewed-by: Shane Lontis <shane.lontis at oracle.com>
Reviewed-by: Dmitry Belyavskiy <beldmit at gmail.com>

(cherry picked from commit e64a169fc678b5e57db28d06c25020d69bc61e4c)

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


Compare: https://github.com/openssl/openssl/compare/2f2176dc8d38...7b807ad6eaa3


More information about the openssl-commits mailing list