cryptui: use add_usage_to_oid correctly

Juan Lang juan.lang at
Mon Feb 11 15:32:27 CST 2013

Spotted by Marcus Meissner and Coverity.

I argued about Marcus's patch that the functions should probably just
crash, but doing that would either be inconsistent with the surrounding
code, or necessitate a bunch of code reformatting that'd make the patch
larger than it's worth. So I opted for a simpler but more correct patch
than Marcus's. Marcus, apologies again for the sloppy code, and for the bad
review :/

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-use-add_usage_to_oid-correctly.patch
Type: application/octet-stream
Size: 1591 bytes
Desc: not available
URL: <>

More information about the wine-patches mailing list