summaryrefslogtreecommitdiff
path: root/src/lib/libcrypto/cryptlib.c
diff options
context:
space:
mode:
authortedu <>2014-04-16 01:43:06 +0000
committertedu <>2014-04-16 01:43:06 +0000
commit6ea0274395466aa8b2f7a8e02b12b21f1c830c29 (patch)
treea79e54216332550d2177d485189266b0623b9d43 /src/lib/libcrypto/cryptlib.c
parentb004a0e4fa3e34864fa037337f997c9f4fcae800 (diff)
downloadopenbsd-6ea0274395466aa8b2f7a8e02b12b21f1c830c29.tar.gz
openbsd-6ea0274395466aa8b2f7a8e02b12b21f1c830c29.tar.bz2
openbsd-6ea0274395466aa8b2f7a8e02b12b21f1c830c29.zip
strncpy(d, s, strlen(s)) is a special kind of stupid. even when it's right,
it looks wrong. replace with auditable code and eliminate many strlen calls to improve efficiency. (wait, did somebody say FASTER?) ok beck
Diffstat (limited to 'src/lib/libcrypto/cryptlib.c')
0 files changed, 0 insertions, 0 deletions