Microsoft fixes critical bugs in CryptoAPI, RD Gateway and .NET