crypt32: Assert condition that can occur only in case of a bug.
This commit is contained in:
parent
c479ea631f
commit
78baaf932a
|
@ -173,6 +173,7 @@ void Context_CopyProperties(const void *to, const void *from,
|
||||||
|
|
||||||
toProperties = Context_GetProperties((void *)to, contextSize);
|
toProperties = Context_GetProperties((void *)to, contextSize);
|
||||||
fromProperties = Context_GetProperties((void *)from, contextSize);
|
fromProperties = Context_GetProperties((void *)from, contextSize);
|
||||||
|
assert(toProperties && fromProperties);
|
||||||
ContextPropertyList_Copy(toProperties, fromProperties);
|
ContextPropertyList_Copy(toProperties, fromProperties);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue