]> git.ipfire.org Git - thirdparty/openssl.git/commit - crypto/evp/evp_fetch.c
Add generic EVP method fetcher
authorRichard Levitte <levitte@openssl.org>
Fri, 8 Feb 2019 16:01:56 +0000 (17:01 +0100)
committerRichard Levitte <levitte@openssl.org>
Mon, 18 Mar 2019 13:27:02 +0000 (14:27 +0100)
commitc13d2ab439a9dcbbf22ef85a00603142b0a37779
tree626fc5adbbc472ef6053da0ac08c4409e519bc16
parenta383083194b882a904ae66fcf74ebc348602407c
Add generic EVP method fetcher

This is an interface between Core dispatch table fetching and
EVP_{method}_fetch().  All that's needed from the diverse method
fetchers are the functions to create a method structure from a
dispatch table, a function that ups the method reference counter and a
function to free the method (in case of failure).

This routine is internal to the EVP API andis therefore only made
accessible within crypto/evp, by including evp_locl.h

Reviewed-by: Matt Caswell <matt@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/8341)
crypto/evp/build.info
crypto/evp/evp_fetch.c [new file with mode: 0644]
crypto/evp/evp_locl.h
doc/internal/man3/evp_generic_fetch.pod [new file with mode: 0644]