From eb273023ea16d139ba227662d8c29adf20bb23af Mon Sep 17 00:00:00 2001 From: MITSUNARI Shigeo Date: Tue, 13 Jun 2017 05:37:10 +0900 Subject: end of refactoring --- go/bls/bls.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'go') diff --git a/go/bls/bls.go b/go/bls/bls.go index 91da636..deeeeb5 100644 --- a/go/bls/bls.go +++ b/go/bls/bls.go @@ -444,7 +444,7 @@ func (sign *Sign) Recover(signVec []Sign, idVec []ID) error { func (sign *Sign) Verify(pub *PublicKey, m string) bool { buf := []byte(m) // #nosec - return C.blsVerify(sign.getPointer(), pub.getPointer(), (*C.char)(unsafe.Pointer(&buf[0])), C.size_t(len(buf))) == 1 + return C.blsVerify(sign.getPointer(), pub.getPointer(), unsafe.Pointer(&buf[0]), C.size_t(len(buf))) == 1 } // VerifyPop -- -- cgit v1.2.3