From dea89e8d62941a3b369c87b885243efaa71627ea Mon Sep 17 00:00:00 2001 From: Holger Lubitz Date: Mon, 20 Aug 2007 20:28:23 +0200 Subject: use malloc attribute --- src/crypto/axtls/bigint.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/crypto') diff --git a/src/crypto/axtls/bigint.c b/src/crypto/axtls/bigint.c index ee51c14d8..49cad971e 100644 --- a/src/crypto/axtls/bigint.c +++ b/src/crypto/axtls/bigint.c @@ -58,7 +58,7 @@ static bigint *bi_int_multiply(BI_CTX *ctx, bigint *bi, comp i); static bigint *bi_int_divide(BI_CTX *ctx, bigint *biR, comp denom); -static bigint *alloc(BI_CTX *ctx, int size); +static bigint __malloc *alloc(BI_CTX *ctx, int size); static bigint *trim(bigint *bi); static void more_comps(bigint *bi, int n); #if defined(CONFIG_BIGINT_KARATSUBA) || defined(CONFIG_BIGINT_BARRETT) || \ -- cgit v1.2.3-55-g7522 From 68455adf37ed94363a1cb95c2d166529d6d9fba4 Mon Sep 17 00:00:00 2001 From: Holger Lubitz Date: Mon, 20 Aug 2007 20:28:47 +0200 Subject: use malloc attribute --- src/crypto/cryptoLayer.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/crypto') diff --git a/src/crypto/cryptoLayer.h b/src/crypto/cryptoLayer.h index 538b84f20..28ce97bc3 100644 --- a/src/crypto/cryptoLayer.h +++ b/src/crypto/cryptoLayer.h @@ -31,7 +31,7 @@ typedef void psPool_t; #define sslAssert( ... ) assert ( __VA_ARGS__ ) -static inline __attribute__ (( always_inline )) void * +static inline __attribute__ (( always_inline )) void * __malloc psMalloc ( psPool_t *pool __unused, size_t len ) { return malloc ( len ); } -- cgit v1.2.3-55-g7522