Fix KeyMaterial::concatenate logic and improve Condition<T> correctness for i64/u64
#7
+235
−24