aboutsummaryrefslogtreecommitdiff
path: root/ssl/internal.h
diff options
context:
space:
mode:
Diffstat (limited to 'ssl/internal.h')
-rw-r--r--ssl/internal.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/ssl/internal.h b/ssl/internal.h
index 0e55739..0c2c2f8 100644
--- a/ssl/internal.h
+++ b/ssl/internal.h
@@ -1640,6 +1640,10 @@ struct ssl_credential_st : public bssl::RefCounted<ssl_credential_st> {
bool SetLeafCert(bssl::UniquePtr<CRYPTO_BUFFER> leaf,
bool discard_key_on_mismatch);
+ // ClearIntermediateCerts clears intermediate certificates in the certificate
+ // chain, while preserving the leaf.
+ void ClearIntermediateCerts();
+
// AppendIntermediateCert appends |cert| to the certificate chain. If there is
// no leaf certificate configured, it leaves a placeholder null in |chain|. It
// returns one on success and zero on error.