Newer gcc doesn't really like strncpy producing following warnings: warning: ‘strncpy’ specified bound depends on the length of the source argument I switched the function to the plain old strcpy as strncpy is not necessary anyway because we allocate the destination buffer using size returned from strlen. |
||
|---|---|---|
| .. | ||
| crypt_impl.go | ||