]> git.ipfire.org Git - thirdparty/openssl.git/commit
Make ERR_count_to_mark() available to providers via 'in' dispatch array
authorIngo Franzki <ifranzki@linux.ibm.com>
Tue, 22 Jul 2025 13:01:38 +0000 (15:01 +0200)
committerTomas Mraz <tomas@openssl.org>
Wed, 30 Jul 2025 16:27:52 +0000 (18:27 +0200)
commitde13aae14adcc1b7a03463dab4ea3ac3a5f5a21e
treed333a4491d264b16c535f10b55a0f545a3395b40
parent4d621e5176e8025b3005f9af8aada9d0e581ec9d
Make ERR_count_to_mark() available to providers via 'in' dispatch array

Functions like ERR_set_mark(), ERR_clear_last_mark(), and ERR_pop_to_mark()
are already passed to the a provider via the 'in' dispatch array of the
provider initialization function (although the documentation did not
mention them).

Also pass ERR_count_to_mark() to the provider the same way, and update
the documentation to mention all four functions.

Signed-off-by: Ingo Franzki <ifranzki@linux.ibm.com>
Reviewed-by: Dmitry Belyavskiy <beldmit@gmail.com>
Reviewed-by: Tomas Mraz <tomas@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/28073)

(cherry picked from commit f77fafd16e92699544466556d368ed7722f49dd8)
crypto/provider_core.c
doc/man7/provider-base.pod
include/openssl/core_dispatch.h
providers/fips/fipsprov.c
providers/legacyprov.c