]> Cypherpunks repositories - gostls13.git/commit
cmd/cgo: avoid using common names for sniffing
authorHiroshi Ioka <hirochachacha@gmail.com>
Mon, 28 Aug 2017 22:39:57 +0000 (07:39 +0900)
committerIan Lance Taylor <iant@golang.org>
Tue, 29 Aug 2017 00:42:34 +0000 (00:42 +0000)
commit77acf19a5929fcd2941a8ae1724584b4a184c93a
tree004c7a0c7b319fb7df4f340ae8270bd50fdc3e51
parent93471a139085fb58b0416e109ba32a927ccf5719
cmd/cgo: avoid using common names for sniffing

Current code uses names like "x" and "s" which can conflict with user's
code easily. Use cryptographic names.

Fixes #21668

Change-Id: Ib6d3d6327aa5b92d95c71503d42e3a79d96c8e15
Reviewed-on: https://go-review.googlesource.com/59710
Reviewed-by: Ian Lance Taylor <iant@golang.org>
misc/cgo/test/issue21668.go [new file with mode: 0644]
src/cmd/cgo/gcc.go