mirror of
https://github.com/go-acme/lego.git
synced 2025-11-28 16:49:59 +02:00
chore: update Go (#1469)
This commit is contained in:
committed by
GitHub
parent
bc8ff4a192
commit
dc2b19e1b1
@@ -4,7 +4,6 @@ import (
|
||||
"crypto/x509"
|
||||
"encoding/pem"
|
||||
"fmt"
|
||||
"io/ioutil"
|
||||
"os"
|
||||
"strings"
|
||||
"time"
|
||||
@@ -98,7 +97,7 @@ func createNonExistingFolder(path string) error {
|
||||
}
|
||||
|
||||
func readCSRFile(filename string) (*x509.CertificateRequest, error) {
|
||||
bytes, err := ioutil.ReadFile(filename)
|
||||
bytes, err := os.ReadFile(filename)
|
||||
if err != nil {
|
||||
return nil, err
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user