summaryrefslogtreecommitdiffstats
path: root/src/crypto
diff options
context:
space:
mode:
authorHolger Lubitz2007-08-20 20:28:23 +0200
committerHolger Lubitz2007-08-20 20:28:23 +0200
commitdea89e8d62941a3b369c87b885243efaa71627ea (patch)
tree002187facee88c843b4e8e63b40e6eec1ab94454 /src/crypto
parentdefine malloc attribute (diff)
downloadipxe-dea89e8d62941a3b369c87b885243efaa71627ea.tar.gz
ipxe-dea89e8d62941a3b369c87b885243efaa71627ea.tar.xz
ipxe-dea89e8d62941a3b369c87b885243efaa71627ea.zip
use malloc attribute
Diffstat (limited to 'src/crypto')
-rw-r--r--src/crypto/axtls/bigint.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/crypto/axtls/bigint.c b/src/crypto/axtls/bigint.c
index ee51c14d..49cad971 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) || \