From 5ebad8aceae77c6da6a1e47c3f7e70e8ffae3dae Mon Sep 17 00:00:00 2001 From: beck <> Date: Wed, 16 Apr 2014 03:24:53 +0000 Subject: Your operating system memory allocation functions are your friend. If they are not please fix your operating system. Replace mem.c with an API-compatible wrapper that just calls the system functions and does not allow a one word modification of a variable in a running shared library to turn on memory debug functions that expose things that should not be seen. ok tedu@ --- src/lib/libcrypto/crypto/Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/lib/libcrypto/crypto') diff --git a/src/lib/libcrypto/crypto/Makefile b/src/lib/libcrypto/crypto/Makefile index 447fc28bbe..1e95a60209 100644 --- a/src/lib/libcrypto/crypto/Makefile +++ b/src/lib/libcrypto/crypto/Makefile @@ -1,4 +1,4 @@ -# $OpenBSD: Makefile,v 1.13 2014/04/15 22:44:15 tedu Exp $ +# $OpenBSD: Makefile,v 1.14 2014/04/16 03:24:53 beck Exp $ LIB= crypto @@ -42,7 +42,7 @@ CFLAGS+= -I${LCRYPTO_SRC} CFLAGS+= -I${LCRYPTO_SRC}/modes -I${LCRYPTO_SRC}/asn1 -I${LCRYPTO_SRC}/evp # crypto/ -SRCS+= cryptlib.c mem.c mem_dbg.c cversion.c ex_data.c cpt_err.c +SRCS+= cryptlib.c malloc-wrapper.c mem_dbg.c cversion.c ex_data.c cpt_err.c SRCS+= uid.c o_time.c o_str.c o_fips.c o_init.c # aes/ -- cgit v1.2.3-55-g6feb