diff options
author | beck <> | 2014-04-16 03:24:53 +0000 |
---|---|---|
committer | beck <> | 2014-04-16 03:24:53 +0000 |
commit | 5ebad8aceae77c6da6a1e47c3f7e70e8ffae3dae (patch) | |
tree | e60f8186026303c75b1e90f9e9bd192dc1b02171 /src/lib/libcrypto/crypto | |
parent | 3c1ef33c56df584ddf4397f1cf1c34bf828b86da (diff) | |
download | openbsd-5ebad8aceae77c6da6a1e47c3f7e70e8ffae3dae.tar.gz openbsd-5ebad8aceae77c6da6a1e47c3f7e70e8ffae3dae.tar.bz2 openbsd-5ebad8aceae77c6da6a1e47c3f7e70e8ffae3dae.zip |
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@
Diffstat (limited to 'src/lib/libcrypto/crypto')
-rw-r--r-- | src/lib/libcrypto/crypto/Makefile | 4 |
1 files changed, 2 insertions, 2 deletions
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 @@ | |||
1 | # $OpenBSD: Makefile,v 1.13 2014/04/15 22:44:15 tedu Exp $ | 1 | # $OpenBSD: Makefile,v 1.14 2014/04/16 03:24:53 beck Exp $ |
2 | 2 | ||
3 | LIB= crypto | 3 | LIB= crypto |
4 | 4 | ||
@@ -42,7 +42,7 @@ CFLAGS+= -I${LCRYPTO_SRC} | |||
42 | CFLAGS+= -I${LCRYPTO_SRC}/modes -I${LCRYPTO_SRC}/asn1 -I${LCRYPTO_SRC}/evp | 42 | CFLAGS+= -I${LCRYPTO_SRC}/modes -I${LCRYPTO_SRC}/asn1 -I${LCRYPTO_SRC}/evp |
43 | 43 | ||
44 | # crypto/ | 44 | # crypto/ |
45 | SRCS+= cryptlib.c mem.c mem_dbg.c cversion.c ex_data.c cpt_err.c | 45 | SRCS+= cryptlib.c malloc-wrapper.c mem_dbg.c cversion.c ex_data.c cpt_err.c |
46 | SRCS+= uid.c o_time.c o_str.c o_fips.c o_init.c | 46 | SRCS+= uid.c o_time.c o_str.c o_fips.c o_init.c |
47 | 47 | ||
48 | # aes/ | 48 | # aes/ |