The commit fd7c819eff1de40619ba0231dc8819af76df72a6 introduced a slight backward incompatibility to the P11KitIter behavior when iterating with P11_KIT_ITER_WITH_TOKENS: previously it stopped before opening a token, while now it stops after that.
This adds a compatibility measure so those two are distinguishable with an explicit flag P11_KIT_ITER_WITH_SESSIONS and a kind P11_KIT_ITER_KIND_SESSION.
coverage: 69.35% (-0.02%) from 69.369% when pulling c9de40199eaad51788ce87dfaac67621d3ea0c4e on ueno:wip/dueno/iter-fixes into e5f0be33f5d39ad117e1cb84de5a8ac1ebe75548 on p11-glue:master.
The commit fd7c819eff1de40619ba0231dc8819af76df72a6 introduced a slight backward incompatibility to the P11KitIter behavior when iterating with P11_KIT_ITER_WITH_TOKENS: previously it stopped before opening a token, while now it stops after that.
This adds a compatibility measure so those two are distinguishable with an explicit flag P11_KIT_ITER_WITH_SESSIONS and a kind P11_KIT_ITER_KIND_SESSION.
Related: #589