duplicated

This commit is contained in:
Emman 2022-04-10 11:16:11 +08:00
parent 0f7a9070ee
commit a61731e0e2

View File

@ -187,8 +187,6 @@ func init() {
}
}
func testingKey(s string) string { return strings.ReplaceAll(s, "TESTING KEY", "PRIVATE KEY") }
func getPublicKey(pemContent []byte) (interface{}, error) {
block, _ := pem.Decode(pemContent)
if block == nil {