mirror of
https://github.com/emmansun/gmsm.git
synced 2025-05-14 13:06:18 +08:00
duplicated
This commit is contained in:
parent
0f7a9070ee
commit
a61731e0e2
@ -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) {
|
func getPublicKey(pemContent []byte) (interface{}, error) {
|
||||||
block, _ := pem.Decode(pemContent)
|
block, _ := pem.Decode(pemContent)
|
||||||
if block == nil {
|
if block == nil {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user