summaryrefslogtreecommitdiffstats
path: root/crypto/mem.c
diff options
context:
space:
mode:
authorBodo Möller <bodo@openssl.org>2001-01-10 15:31:04 +0000
committerBodo Möller <bodo@openssl.org>2001-01-10 15:31:04 +0000
commiteddf82a36a8039af7bd16947aca66e2c7fa64e0a (patch)
treea6c0f8c8f7d26d143308ea0682a73a790fde1d09 /crypto/mem.c
parent673b3fde824b8cafe33d1c908e890e42645a0ade (diff)
make indentation consistent
Diffstat (limited to 'crypto/mem.c')
-rw-r--r--crypto/mem.c28
1 files changed, 14 insertions, 14 deletions
diff --git a/crypto/mem.c b/crypto/mem.c
index 8b3f109ea6..04af1aa400 100644
--- a/crypto/mem.c
+++ b/crypto/mem.c
@@ -136,9 +136,9 @@ int CRYPTO_set_mem_ex_functions(
{
if (!allow_customize)
return 0;
- if (m == NULL) m = crypto_i_malloc_ex;
- if (r == NULL) r = crypto_i_realloc_ex;
- if (f == NULL) f = crypto_i_free_ex;
+ if (m == NULL) m = crypto_i_malloc_ex;
+ if (r == NULL) r = crypto_i_realloc_ex;
+ if (f == NULL) f = crypto_i_free_ex;
malloc_ex_func=m;
realloc_ex_func=r;
free_ex_func=f;
@@ -164,8 +164,8 @@ int CRYPTO_set_locked_mem_ex_functions(
{
if (!allow_customize)
return 0;
- if (m == NULL) m = crypto_i_malloc_ex;
- if (f == NULL) f = crypto_i_free_ex;
+ if (m == NULL) m = crypto_i_malloc_ex;
+ if (f == NULL) f = crypto_i_free_ex;
malloc_locked_ex_func=m;
free_locked_ex_func=f;
return 1;
@@ -335,17 +335,17 @@ long CRYPTO_get_mem_debug_options(void)
}
static void *crypto_i_malloc_ex(size_t num, const char *file, int line)
- {
- return malloc_func(num);
- }
+ {
+ return malloc_func(num);
+ }
static void *crypto_i_realloc_ex(void *str, size_t num,
const char *file, int line)
- {
- return realloc_func(str,num);
- }
+ {
+ return realloc_func(str,num);
+ }
static void crypto_i_free_ex(void *str)
- {
- free_func(str);
- }
+ {
+ free_func(str);
+ }