Test EVP_get_[digest|cipher]byname() use the namemap
authorMatt Caswell <matt@openssl.org>
Fri, 1 Nov 2019 16:09:21 +0000 (16:09 +0000)
committerMatt Caswell <matt@openssl.org>
Wed, 6 Nov 2019 10:11:31 +0000 (10:11 +0000)
commiteee5f32f37764ffb94e7989536e7022c9a800986
treef7af00dbb7b3054faef1c5e921bd297ce15105ce
parent7606bed9047935d0e3c0b5ede9d4ce92a136b5e2
Test EVP_get_[digest|cipher]byname() use the namemap

Following on from the previous commit, we test that if an algorithm has
a provider supplied alias in the namemap then EVP_get_digestbyname() and
EVP_get_cipherbyname() can still find it.

Reviewed-by: Tomas Mraz <tmraz@fedoraproject.org>
(Merged from https://github.com/openssl/openssl/pull/10324)
test/namemap_internal_test.c