更新工作区配置,删除不再使用的Cloudflare相关文件,优化日志输出格式,增强主机信息收集功能,调整代码结构以提高可维护性。
This commit is contained in:
@@ -366,9 +366,3 @@ func createCSR(privateKey crypto.Signer, domain string) ([]byte, error) {
|
||||
|
||||
return csrDER, nil
|
||||
}
|
||||
|
||||
// pemEncode 将DER格式数据编码为PEM格式
|
||||
func pemEncode(typ string, der []byte) []byte {
|
||||
block := &pem.Block{Type: typ, Bytes: der}
|
||||
return pem.EncodeToMemory(block)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user