diff options
| author | Michael Brown | 2007-08-23 22:51:57 +0200 |
|---|---|---|
| committer | Michael Brown | 2007-08-23 22:51:57 +0200 |
| commit | 746d0f8febe166a3d5bad03a84ca4e33d1bcfe34 (patch) | |
| tree | 8fb0d6d2d7066bdbc54f3540fa9564c0ad290127 /src/crypto | |
| parent | Auto-assign drive number only if set to 0xff; almost all applications (diff) | |
| parent | use malloc attribute (diff) | |
| download | ipxe-746d0f8febe166a3d5bad03a84ca4e33d1bcfe34.tar.gz ipxe-746d0f8febe166a3d5bad03a84ca4e33d1bcfe34.tar.xz ipxe-746d0f8febe166a3d5bad03a84ca4e33d1bcfe34.zip | |
Merge commit 'holger/strings'
Diffstat (limited to 'src/crypto')
| -rw-r--r-- | src/crypto/axtls/bigint.c | 2 | ||||
| -rw-r--r-- | src/crypto/cryptoLayer.h | 2 |
2 files changed, 2 insertions, 2 deletions
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) || \ 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 ); } |
