check_key_usage
ret = check_key_usage(context, c, 1 << 5,
if (ku && check_key_usage(context, c, ku, TRUE))
return check_key_usage(context, _hx509_get_cert(cert), flags, req_present);