Adjust OCSP Stapling

This commit is contained in:
RPRX 2020-12-25 15:10:12 +00:00 committed by GitHub
parent ffd8fd1d8a
commit a78db47571
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
8 changed files with 140 additions and 142 deletions

View file

@ -283,7 +283,9 @@ func (c *TLSCertConfig) Build() (*tls.Certificate, error) {
default:
certificate.Usage = tls.Certificate_ENCIPHERMENT
}
certificate.OcspStapling = c.OcspStapling
return certificate, nil
}
@ -365,7 +367,9 @@ func (c *XTLSCertConfig) Build() (*xtls.Certificate, error) {
default:
certificate.Usage = xtls.Certificate_ENCIPHERMENT
}
certificate.OcspStapling = c.OcspStapling
return certificate, nil
}