EVP_FETCH: remove the need to transport the legacy NID through construction
authorRichard Levitte <levitte@openssl.org>
Wed, 8 May 2019 12:00:31 +0000 (14:00 +0200)
committerRichard Levitte <levitte@openssl.org>
Sun, 12 May 2019 20:43:38 +0000 (13:43 -0700)
commit0211740fcc47a954be19cceb65fb57a6f7deb797
tree6eaa2197081d55c35f53d97d2ebe1fdd3cc4e34e
parent1f79ddf5049ff53ad8a7cbab76e62d02d9ac099f
EVP_FETCH: remove the need to transport the legacy NID through construction

Now that the legacy NID isn't used as a main index for fetched
algorithms, the legacy NID was just transported around unnecessarily.
This is removed, and the legacy NID is simply set by EVP_{API}_fetch()
after the construction process is done.

Reviewed-by: Paul Dale <paul.dale@oracle.com>
(Merged from https://github.com/openssl/openssl/pull/8878)
crypto/evp/digest.c
crypto/evp/evp_enc.c
crypto/evp/evp_fetch.c
crypto/evp/evp_locl.h
doc/internal/man3/evp_generic_fetch.pod