Commit f36fedcc authored by David von Oheimb's avatar David von Oheimb Committed by Matt Caswell
Browse files

Fix OCSP_basic_verify() cert chain construction in case bs->certs is NULL (backport)

parent 3281f1eb
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -118,6 +118,8 @@ int OCSP_basic_verify(OCSP_BASICRESP *bs, STACK_OF(X509) *certs,
                    goto end;
                }
            }
        } else if (certs != NULL) {
            untrusted = certs;
        } else {
            untrusted = bs->certs;
        }