diff options
author | tb <> | 2024-11-05 11:05:01 +0000 |
---|---|---|
committer | tb <> | 2024-11-05 11:05:01 +0000 |
commit | eb765cd4a2b07da3fc92af29a4762d2c91e71441 (patch) | |
tree | 701a89c82b106700d9a949b62d0d172a0faa0d02 /src/lib/libcrypto/mem_clr.c | |
parent | 8b19337000a05871189304b9adfbddcca405e429 (diff) | |
download | openbsd-eb765cd4a2b07da3fc92af29a4762d2c91e71441.tar.gz openbsd-eb765cd4a2b07da3fc92af29a4762d2c91e71441.tar.bz2 openbsd-eb765cd4a2b07da3fc92af29a4762d2c91e71441.zip |
Move OPENSSL_cleanse() to crypto_legacy()
The correct spelling is explicit_bzero() and it doesn't need its own file.
discussed with jsing
Diffstat (limited to 'src/lib/libcrypto/mem_clr.c')
-rw-r--r-- | src/lib/libcrypto/mem_clr.c | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/src/lib/libcrypto/mem_clr.c b/src/lib/libcrypto/mem_clr.c deleted file mode 100644 index a936dcc5b8..0000000000 --- a/src/lib/libcrypto/mem_clr.c +++ /dev/null | |||
@@ -1,12 +0,0 @@ | |||
1 | /* $OpenBSD: mem_clr.c,v 1.5 2024/04/10 14:51:02 beck Exp $ */ | ||
2 | |||
3 | /* Ted Unangst places this file in the public domain. */ | ||
4 | #include <string.h> | ||
5 | #include <openssl/crypto.h> | ||
6 | |||
7 | void | ||
8 | OPENSSL_cleanse(void *ptr, size_t len) | ||
9 | { | ||
10 | explicit_bzero(ptr, len); | ||
11 | } | ||
12 | LCRYPTO_ALIAS(OPENSSL_cleanse); | ||