Add a test for OSSL_ERR_STATE_save_to_mark()
authorMatt Caswell <matt@openssl.org>
Thu, 12 Oct 2023 15:10:12 +0000 (16:10 +0100)
committerMatt Caswell <matt@openssl.org>
Mon, 23 Oct 2023 09:08:22 +0000 (10:08 +0100)
commitd3bb8fe73df16e5a96dc94f1ab770b35b6694931
tree52d080c3010ade9f28f8fef3c75957131e230183
parentb13f3f1aa709b6c31136b48af51ed22c30f82cb2
Add a test for OSSL_ERR_STATE_save_to_mark()

Add a test for the recently added function OSSL_ERR_STATE_save_to_mark().
We can just modify the existing test_save_restore() to add this in.

Reviewed-by: Tomas Mraz <tomas@openssl.org>
Reviewed-by: Hugo Landau <hlandau@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/22368)
test/errtest.c