namemap: handle a NULL return when looking for a non-legacy cipher/MD
authorPauli <pauli@openssl.org>
Mon, 20 Dec 2021 23:17:04 +0000 (10:17 +1100)
committerPauli <pauli@openssl.org>
Wed, 22 Dec 2021 23:50:28 +0000 (10:50 +1100)
commit7a85dd46e0b2f67b341c777509f0126e3252938d
tree30c3d82ed867dbfbf419747dd5efa6f37f11c3ee
parentcdaf072f90399efb9e8e19ee4f387d1425f12274
namemap: handle a NULL return when looking for a non-legacy cipher/MD

Fixes #17313

Reviewed-by: Tomas Mraz <tomas@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/17324)
crypto/core_namemap.c