Hi,
there is no way to do that with OpenSSL 1.1.0 and newer. The thing is
that with recent versions of OpenSSL the later operations with the
EVP_MD_CTX can fail for other reasons than memory allocation failure
such as algorithm unavailability from a provider. So you would need to
check anyway.
If
looks like https://linux.die.net/man/3/evp_md_ctx_init initializes a
structure that's allocated already. Yes it could be on the stack, or
static...
(instead of _new)
On Wed, Jul 27, 2022 at 1:42 AM Philip Prindeville <
philipp_s...@redfish-solutions.com> wrote:
> Hi,
>
> I suspect I already know