summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--source/pdf/pdf-pkcs7.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/source/pdf/pdf-pkcs7.c b/source/pdf/pdf-pkcs7.c
index 6ec8aaf2..f1e616c0 100644
--- a/source/pdf/pdf-pkcs7.c
+++ b/source/pdf/pdf-pkcs7.c
@@ -319,6 +319,7 @@ static int verify_callback(int ok, X509_STORE_CTX *ctx)
break;
case X509_V_ERR_DEPTH_ZERO_SELF_SIGNED_CERT:
+ case X509_V_ERR_SELF_SIGNED_CERT_IN_CHAIN:
/*
In this case, don't reset err to X509_V_OK, so that it can be reported,
although we do return 1, so that the digest will still be checked