check_key_level
if (!check_key_level(ctx, ctx->rpk)
return check_key_level(ctx, X509_get0_pubkey(cert));
static int check_key_level(X509_STORE_CTX *ctx, EVP_PKEY *pkey);