The docs say it should be released in the last CryptMsgUpdate, but tests show
it's actually released in CryptMsgClose. So let's do the same.
This solve a use-after-free issue for signed messages, because they contains
HCRYPTHASH objects which references the context internally, and will use it
in CryptDestroyHash. If the context is released in CSignedEncodeMsg_Open, this
will be a use-after-free.
--
https://gitlab.winehq.org/wine/wine/-/merge_requests/8376
Tests how the rects for the listviews header should be refreshed during painting.
--
v2: comctl32/listview: Remove header rect caching when drawing LVS_REPORT listviews.
comctl32/tests: Add test for HDM_SETORDERARRAY in listview test_columns.
comctl32/tests: Add test for header item rect caching in LVS_REPORT listview during paint.
https://gitlab.winehq.org/wine/wine/-/merge_requests/8320