]> 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:08 +0000 (18:27 +0200)
commitf77fafd16e92699544466556d368ed7722f49dd8
treec5c5dbefdabb2dbd89ac658e9e40f5bc92af9db5
parentf12f8cc035edc5d797166c95f30c5db6fce73f3e
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)
crypto/provider_core.c
doc/man7/provider-base.pod
include/openssl/core_dispatch.h
providers/fips/fipsprov.c
providers/legacyprov.c