diff --git a/lib/cgo/cipher.hash.go b/lib/cgo/cipher.hash.go index f724c2bb0..3041396b3 100644 --- a/lib/cgo/cipher.hash.go +++ b/lib/cgo/cipher.hash.go @@ -43,9 +43,10 @@ func SKY_cipher_SHA256_Set(_g *C.cipher__SHA256, _b []byte) (____error_code uint } //export SKY_cipher_SHA256_Hex -func SKY_cipher_SHA256_Hex(_g *C.cipher__SHA256, _arg1 *string) (____error_code uint32) { +func SKY_cipher_SHA256_Hex(_g *C.cipher__SHA256, _arg1 *C.GoString_) (____error_code uint32) { g := (*cipher.SHA256)(unsafe.Pointer(_g)) - *_arg1 = g.Hex() + __arg1 := g.Hex() + copyString(__arg1,_arg1) return }