diff options
author | Jay Satiro <raysatiro@yahoo.com> | 2018-09-12 03:14:20 -0400 |
---|---|---|
committer | Jay Satiro <raysatiro@yahoo.com> | 2018-09-12 03:14:20 -0400 |
commit | 357161accda84cf678c579c652429d529e56db80 (patch) | |
tree | fa46187889f3b313cdd567d8d092db14d9810961 /tests/testcurl.pl | |
parent | 11e8a43f853b9bf050db58f073e6f2411821ce60 (diff) |
openssl: fix gcc8 warning
- Use memcpy instead of strncpy to copy a string without termination,
since gcc8 warns about using strncpy to copy as many bytes from a
string as its length.
Suggested-by: Viktor Szakats
Closes https://github.com/curl/curl/issues/2980
Diffstat (limited to 'tests/testcurl.pl')
0 files changed, 0 insertions, 0 deletions