Skip to content

Commit

Permalink
Update main.go to comply with Golang linter
Browse files Browse the repository at this point in the history
  • Loading branch information
andyrzhao authored Sep 11, 2024
1 parent 93d0de7 commit 4f2348c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions cshared/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ func getCertPem(configFilePath string) []byte {
return certChainPem
}

// Returns ECP's version number.
// ECPVersion returns ECP's version number.
//
//export ECPVersion
func ECPVersion() *C.char {
Expand Down Expand Up @@ -181,7 +181,7 @@ func Sign(configFilePath *C.char, digest *byte, digestLen int, sigHolder *byte,
//
//export SignForPython
func SignForPython(configFilePath *C.char, digest *byte, digestLen int, sigHolder *byte, sigHolderLen int) int {
return Sign(configFilePath, digest, digestLen, sigHolder, sigHolderLen);
return Sign(configFilePath, digest, digestLen, sigHolder, sigHolderLen)
}

// GetKeyType returns a string representing ECP's key type.
Expand Down

0 comments on commit 4f2348c

Please sign in to comment.