75db7c6
Fix checking for errors when fetching SCEP chain When walking the chain of certificates from a server, check the response code of the current GetCAChain request, not the previous GetCACert request. Spotted by static analysis.