diff options
author | MITSUNARI Shigeo <herumi@nifty.com> | 2017-06-13 04:37:10 +0800 |
---|---|---|
committer | MITSUNARI Shigeo <herumi@nifty.com> | 2017-06-13 04:37:10 +0800 |
commit | eb273023ea16d139ba227662d8c29adf20bb23af (patch) | |
tree | a9aaf17deb328bd0e09331f2c3e699b2c9cc3880 /go | |
parent | 8960a3bfc70931637b79ec53ab5645f56cc7d1a3 (diff) | |
download | dexon-bls-eb273023ea16d139ba227662d8c29adf20bb23af.tar dexon-bls-eb273023ea16d139ba227662d8c29adf20bb23af.tar.gz dexon-bls-eb273023ea16d139ba227662d8c29adf20bb23af.tar.bz2 dexon-bls-eb273023ea16d139ba227662d8c29adf20bb23af.tar.lz dexon-bls-eb273023ea16d139ba227662d8c29adf20bb23af.tar.xz dexon-bls-eb273023ea16d139ba227662d8c29adf20bb23af.tar.zst dexon-bls-eb273023ea16d139ba227662d8c29adf20bb23af.zip |
end of refactoring
Diffstat (limited to 'go')
-rw-r--r-- | go/bls/bls.go | 2 |
1 files changed, 1 insertions, 1 deletions
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 -- |