Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix SSL_BUILD_CHAIN_FLAG_IGNORE_ERROR behavior (#1620)
### Description of changes: This was discovered when taking google/boringssl@5b3dc49 during the upstream merge.`ERR_clear_error` is being called more eagerly with the new change, which led us to discover that `SSLTest.BuildCertChain` was actually testing against an error code propagated onto the stack by the previous call to `SSL_CTX_build_cert_chain`. Upon further examination, we weren't propagating an error when calling `SSL_CTX_build_cert_chain` with `SSL_BUILD_CHAIN_FLAG_IGNORE_ERROR` . The correct behavior should be to push an error onto the stack regardless. By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license and the ISC license.
- Loading branch information