remove repetitive words

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

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 {