summaryrefslogtreecommitdiff
path: root/src/lib/libcrypto/cryptlib.c
diff options
context:
space:
mode:
authorderaadt <>2014-04-15 23:09:33 +0000
committerderaadt <>2014-04-15 23:09:33 +0000
commit5540b5c19a94a570f5897e837a479cf8cae20a65 (patch)
treeffc06d320fe9a1113e8c1ad2beaa5e63a0f68573 /src/lib/libcrypto/cryptlib.c
parentdb6687f713c6dc3abda6a77aaec386f5ebb9b50d (diff)
downloadopenbsd-5540b5c19a94a570f5897e837a479cf8cae20a65.tar.gz
openbsd-5540b5c19a94a570f5897e837a479cf8cae20a65.tar.bz2
openbsd-5540b5c19a94a570f5897e837a479cf8cae20a65.zip
Three wrappers in this file: OPENSSL_strncasecmp, OPENSSL_strcasecmp,
and OPENSSL_memcmp. All modern systems have strncasecmp. No need to rewrite it. Same with memcmp, call the system one! It is more likely to be hot in the icache, and is specifically optimized for the platform. I thought these OpenSSL people cared about performance? ok tedu
Diffstat (limited to 'src/lib/libcrypto/cryptlib.c')
0 files changed, 0 insertions, 0 deletions