http://bugs.winehq.org/show_bug.cgi?id=27168
--- Comment #44 from Juan Lang juan.lang@gmail.com 2011-12-07 10:11:03 CST --- (In reply to comment #43)
Here's the test that shows the problem. Sorry it took that long.
Thanks! Some suggestions before sending it to wine-patches:
+ if (ret) + skip("Can't init winsock 2.2\n");
You should skip, then return. skip just adds something to the output. Likewise elsewhere where you skip.
+ /* Create client credentials */ + memset(&cred, 0, sizeof cred);
Bad indent (using a tab instead of spaces.)
+ buffers[0].pBuffers[0].BufferType = SECBUFFER_TOKEN; Ditto.
+ buffers[0].pBuffers[0].cbBuffer = buf_size; This should already be done by init_buffers, no? + buffers[1].pBuffers[0].cbBuffer = buf_size; Likewise.
+ printf("Got the certificate %p, store = %p\n", cert, store); Please remove the printfs :)