Description
The requirements for WCCP security key handling are precisely those of strncpy -
- The buffer must be zero padded.
- The terminating nul must not be copied if the key fills the buffer.
Rather than doing something complex with strlcpy to satisfy these requirements it is much easier to simply use strncpy.