Skip to content

Commit

Permalink
Handle NO TSA certificates (#444)
Browse files Browse the repository at this point in the history
IB-7227

Signed-off-by: Raul Metsma <raul@metsma.ee>
  • Loading branch information
metsma authored Nov 17, 2021
1 parent a4f4353 commit d7adf36
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ jobs:
container: ${{ matrix.container }}
strategy:
matrix:
container: ['ubuntu:18.04', 'ubuntu:20.04', 'ubuntu:20.10', 'ubuntu:21.04']
container: ['ubuntu:18.04', 'ubuntu:20.04', 'ubuntu:21.04', 'ubuntu:21.10']
env:
DEBIAN_FRONTEND: noninteractive
DEBFULLNAME: 'github-actions'
Expand Down
1 change: 1 addition & 0 deletions src/crypto/X509CertStore.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -197,6 +197,7 @@ int X509CertStore::validate(int ok, X509_STORE_CTX *ctx, const set<string> &type
switch(X509_STORE_CTX_get_error(ctx))
{
case X509_V_ERR_UNABLE_TO_GET_ISSUER_CERT:
case X509_V_ERR_DEPTH_ZERO_SELF_SIGNED_CERT:
case X509_V_ERR_SELF_SIGNED_CERT_IN_CHAIN:
case X509_V_ERR_UNABLE_TO_GET_ISSUER_CERT_LOCALLY:
case X509_V_ERR_UNABLE_TO_VERIFY_LEAF_SIGNATURE:
Expand Down

0 comments on commit d7adf36

Please sign in to comment.