0
mirror of https://github.com/XTLS/Xray-core.git synced 2025-06-12 19:39:35 +03:00

Adjust OCSP Stapling

This commit is contained in:
RPRX
2020-12-25 15:10:12 +00:00
committed by GitHub
parent ffd8fd1d8a
commit a78db47571
8 changed files with 140 additions and 142 deletions

View File

@ -4,11 +4,13 @@ import (
"bytes"
"crypto/x509"
"encoding/pem"
"github.com/xtls/xray-core/common/platform/filesystem"
"golang.org/x/crypto/ocsp"
"io/ioutil"
"net/http"
"os"
"golang.org/x/crypto/ocsp"
"github.com/xtls/xray-core/common/platform/filesystem"
)
func GetOCSPForFile(path string) ([]byte, error) {