mirror of
https://github.com/yusing/godoxy.git
synced 2026-04-23 09:18:51 +02:00
simplify setup process
This commit is contained in:
@@ -32,6 +32,7 @@ func readFile(f *zip.File) ([]byte, error) {
|
||||
|
||||
func ZipCert(ca, crt, key []byte) ([]byte, error) {
|
||||
data := bytes.NewBuffer(nil)
|
||||
data.Grow(6144)
|
||||
zipWriter := zip.NewWriter(data)
|
||||
defer zipWriter.Close()
|
||||
|
||||
|
||||
Reference in New Issue
Block a user