commit | 64c222331078311e71d480ecc8c4446146bd38bd | [log] [tgz] |
---|---|---|
author | Adam Langley <agl@chromium.org> | Fri Jun 20 12:00:00 2014 -0700 |
committer | Adam Langley <agl@chromium.org> | Fri Jun 20 13:17:39 2014 -0700 |
tree | 0baa7c4b8d416b813ae50d18fbece15383efbf6e | |
parent | dff7b9e11b9c63558710e333f29ef7b726e1d3bc [diff] |
Update chain building function. Don't clear verification errors from the error queue unless SSL_BUILD_CHAIN_FLAG_CLEAR_ERROR is set. If errors occur during verification and SSL_BUILD_CHAIN_FLAG_IGNORE_ERROR is set return 2 so applications can issue warnings. (Imported from upstream's 2dd6976f6d02f98b30c376951ac38f780a86b3b5)