summaryrefslogtreecommitdiff
path: root/src/lib/libcrypto/engine/eng_ctrl.c
diff options
context:
space:
mode:
authormiod <>2014-04-17 18:16:45 +0000
committermiod <>2014-04-17 18:16:45 +0000
commit777aa5b3f157309dd7bae673d3f2ae8f37e71457 (patch)
tree90883ba640e038606eee09fb5c784c3df7903a8e /src/lib/libcrypto/engine/eng_ctrl.c
parent22bab90c92ee62bbe16d73084a853233fc368a8e (diff)
downloadopenbsd-777aa5b3f157309dd7bae673d3f2ae8f37e71457.tar.gz
openbsd-777aa5b3f157309dd7bae673d3f2ae8f37e71457.tar.bz2
openbsd-777aa5b3f157309dd7bae673d3f2ae8f37e71457.zip
Ok, there was a need for OPENSSL_cleanse() instead of bzero() to prevent
supposedly smart compilers from optimizing memory cleanups away. Understood. Ok, in case of an hypothetically super smart compiler, OPENSSL_cleanse() had to be convoluted enough for the compiler not to recognize that this was actually bzero() in disguise. Understood. But then why there had been optimized assembler versions of OPENSSL_cleanse() is beyond me. Did someone not trust the C obfuscation?
Diffstat (limited to 'src/lib/libcrypto/engine/eng_ctrl.c')
0 files changed, 0 insertions, 0 deletions