Switch from EVP_CIPHER_type() to EVP_CIPHER_nid()
authortb <tb@openbsd.org>
Thu, 18 Jan 2024 16:30:43 +0000 (16:30 +0000)
committertb <tb@openbsd.org>
Thu, 18 Jan 2024 16:30:43 +0000 (16:30 +0000)
commit8afa8197cdaf45109385d3ddde47b8a486f3896e
treeb91f0bb6249f94ee995a2437a1ef3a41d0fb4518
parentf9b5afeb1cfdbbf85b6d5c2ba5bfab493c5304b3
Switch from EVP_CIPHER_type() to EVP_CIPHER_nid()

EVP_CIPHER_type() will never return NID_gost89_cnt since it has no
associated ASN1_OBJECT. Switching to EVP_CIPHER_nid() has a slight
chance of working. Do that before beck applies the flensing knife.

ok beck
lib/libssl/tls12_record_layer.c