CORE: ossl_namemap_add_names(): new function to add multiple names
authorRichard Levitte <levitte@openssl.org>
Fri, 8 Nov 2019 23:18:05 +0000 (00:18 +0100)
committerRichard Levitte <levitte@openssl.org>
Fri, 29 Nov 2019 19:42:12 +0000 (20:42 +0100)
commit3d83c7353630450a4ce4fffc9c75693565e094c2
treed41f784818c5f092e91abf46a01f76ebd6c7894e
parentcc38e643cbfb6da84fb2bb6a188698d0bc082a20
CORE: ossl_namemap_add_names(): new function to add multiple names

This was originally the private add_names_to_namemap() in
crypto/evp/evp_fetch.c, but made more generally useful.

To make for more consistent function naming, ossl_namemap_add() and
ossl_namemap_add_n() are renamed to ossl_namemap_add_name() and
ossl_namemap_add_name_n().

Reviewed-by: Matt Caswell <matt@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/10394)
crypto/core_namemap.c
crypto/cpt_err.c
crypto/err/openssl.txt
crypto/evp/evp_fetch.c
doc/internal/man3/ossl_namemap_new.pod
include/internal/namemap.h
include/openssl/cryptoerr.h
test/namemap_internal_test.c