On Monday 22 December 2008 16:59:29 Juan Lang wrote: > +struct cryptcat > +{ > + DWORD magic; > + HANDLE msg; > > msg's type should be HCRYPTMSG instead.
Thanks for catching that. > + for (i = 0; i < cc->attr_count; i++) > + { > + if (!CryptMsgGetParam(hmsg, CMSG_ATTR_CERT_PARAM, i, NULL, > &size)) > > Out of curiosity, how did you test this? That would be a question for Maarten since he mostly wrote this code. -Hans