cryptui: use add_usage_to_oid correctly

Juan Lang juan.lang at gmail.com
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 :/

--Juan
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.winehq.org/pipermail/wine-patches/attachments/20130211/8f8f1f6a/attachment.html>
-------------- 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: <http://www.winehq.org/pipermail/wine-patches/attachments/20130211/8f8f1f6a/attachment.obj>


More information about the wine-patches mailing list