Simon Fell > Its just code > SslValidate broken in WM 5.0
I've had numerous reports that the SSL support in PocketHTTP/SOAP always returns an error on Windows Mobile 5.0 devices, I've been digging through it and have tracked it down to what appears to be a bug in WM5.0. As per the docs I register a SslValidate hook, however the dwFlags parameter is always SSL_CERT_FLAG_ISSUER_UNKNOWN, regardless of the status of the root certificate. Previous versions of PocketPC (2003 & 2002) got this right. sigh.