summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTheo Buehler <tb@cvs.openbsd.org>2024-11-06 04:08:27 +0000
committerTheo Buehler <tb@cvs.openbsd.org>2024-11-06 04:08:27 +0000
commit4354af4983f30da92f257dd788fd5d58de8e794d (patch)
treece1c91eff687aa8a50d168864d1844a1abf7d75f
parentdcb0d603d612effa3a293dc06a5535e2a46b7736 (diff)
Rename malloc-wrapper.c to crypto_memory.c
Apparently it's important that five trivial one-line wrappers remain in a file with the ISC license. So instead of cleaning the root directory of our favorite pigsty further by squashing all the useless legacy garbage into a single file, rename the oddly-named malloc-wrapper.c into crypto_memory.c. discussed with beck, jsing
-rw-r--r--lib/libcrypto/Makefile4
-rw-r--r--lib/libcrypto/crypto_memory.c (renamed from lib/libcrypto/malloc-wrapper.c)2
2 files changed, 3 insertions, 3 deletions
diff --git a/lib/libcrypto/Makefile b/lib/libcrypto/Makefile
index ce5adf0f5a2..9158a2e5948 100644
--- a/lib/libcrypto/Makefile
+++ b/lib/libcrypto/Makefile
@@ -1,4 +1,4 @@
-# $OpenBSD: Makefile,v 1.224 2024/11/05 11:21:15 tb Exp $
+# $OpenBSD: Makefile,v 1.225 2024/11/06 04:08:26 tb Exp $
LIB= crypto
LIBREBUILD=y
@@ -61,7 +61,7 @@ SRCS+= crypto_ex_data.c
SRCS+= crypto_init.c
SRCS+= crypto_legacy.c
SRCS+= crypto_lock.c
-SRCS+= malloc-wrapper.c
+SRCS+= crypto_memory.c
# aes/
SRCS+= aes.c
diff --git a/lib/libcrypto/malloc-wrapper.c b/lib/libcrypto/crypto_memory.c
index 7330903c6ca..e294b11fa3c 100644
--- a/lib/libcrypto/malloc-wrapper.c
+++ b/lib/libcrypto/crypto_memory.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: malloc-wrapper.c,v 1.11 2024/04/10 14:51:02 beck Exp $ */
+/* $OpenBSD: crypto_memory.c,v 1.1 2024/11/06 04:08:26 tb Exp $ */
/*
* Copyright (c) 2014 Bob Beck
*