CORE: pass the full algorithm definition to the method constructor
authorRichard Levitte <levitte@openssl.org>
Tue, 19 Nov 2019 08:55:56 +0000 (09:55 +0100)
committerRichard Levitte <levitte@openssl.org>
Fri, 29 Nov 2019 19:42:12 +0000 (20:42 +0100)
commit36fa4d8a0df9dc168047fadd0365966c7116b31d
treebec50f40d1fe2d018d76990149d065a4d73e9902
parent3d83c7353630450a4ce4fffc9c75693565e094c2
CORE: pass the full algorithm definition to the method constructor

So far, the API level method constructors that are called by
ossl_method_construct_this() were passed the algorithm name string and
the dispatch table and had no access to anything else.

This change gives them access to the full OSSL_ALGORITHM item, thereby
giving them access to the property definition.

Reviewed-by: Matt Caswell <matt@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/10394)
crypto/core_fetch.c
crypto/evp/evp_fetch.c
include/internal/core.h