remove repetitive words

Signed-off-by: cuinix <915115094@qq.com>
This commit is contained in:
cuinix committed 2024-03-07 14:05:47 +08:00
1 parent 716c6dddd8
commit 60bc30dd08
15 files changed
+21 -21

No files matched your search

+2 -2
View File
@@ -57,7 +57,7 @@ func LoadCert(certPath, keyPath string) (tls.Certificate, *x509.Certificate,
return tls.Certificate{}, nil, err
}
// Now parse the the PEM block of the certificate into its x509 data
// Now parse the PEM block of the certificate into its x509 data
// structure so it can be examined in more detail.
x509Cert, err := x509.ParseCertificate(certData.Certificate[0])
if err != nil {
@@ -82,7 +82,7 @@ func LoadCertFromBytes(certBytes, keyBytes []byte) (tls.Certificate,
return tls.Certificate{}, nil, err
}
// Now parse the the PEM block of the certificate into its x509 data
// Now parse the PEM block of the certificate into its x509 data
// structure so it can be examined in more detail.
x509Cert, err := x509.ParseCertificate(certData.Certificate[0])
if err != nil {