libssl: stop reaching into the X509 struct and simplify some code by
authortb <tb@openbsd.org>
Sun, 31 Oct 2021 16:37:25 +0000 (16:37 +0000)
committertb <tb@openbsd.org>
Sun, 31 Oct 2021 16:37:25 +0000 (16:37 +0000)
commitad70d4758940e74a630416c8072729a9c6845f30
treefbbb462477ad71d5acbcae6786fbf941bd3d2d73
parent960c798acdfa48b5a1eb34ccf70e873afb051ddb
libssl: stop reaching into the X509 struct and simplify some code by
using X509_get_key_usage().

ok beck jsing
lib/libssl/ssl_lib.c
lib/libssl/tls13_server.c