[openssl/openssl] f1b7a6: tests: clear error queue before executing a testcase

Tomáš Mráz noreply at github.com
Thu Oct 27 16:41:02 UTC 2022


  Branch: refs/heads/openssl-3.1
  Home:   https://github.com/openssl/openssl
  Commit: f1b7a6c247502cefe414921b880512e0e1d3e9ca
      https://github.com/openssl/openssl/commit/f1b7a6c247502cefe414921b880512e0e1d3e9ca
  Author: Tomas Mraz <tomas at openssl.org>
  Date:   2022-10-27 (Thu, 27 Oct 2022)

  Changed paths:
    M test/cmsapitest.c
    M test/recordlentest.c
    M test/sslcorrupttest.c
    M test/testutil/driver.c

  Log Message:
  -----------
  tests: clear error queue before executing a testcase

There can be errors in the queue from previous tests and
we look at it to verify we do not add spurious errors in
some testcases.

Fixes #19477

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

(cherry picked from commit 4bae06d47ae26b37a948d31f11884e1813f6d669)




More information about the openssl-commits mailing list