aboutsummaryrefslogtreecommitdiffstats
path: root/lib/crypto/c_src/crypto_callback.c
diff options
context:
space:
mode:
authorBjörn Gustavsson <[email protected]>2016-11-24 11:57:55 +0100
committerBjörn Gustavsson <[email protected]>2016-12-02 13:19:58 +0100
commit458c012e18eda87803ef356221d68955f4b8012d (patch)
treea434e4d73849accba0a017055000297277a7dccd /lib/crypto/c_src/crypto_callback.c
parent78a5de9611c25a4e7b5248aa9828f949f3a5c131 (diff)
downloadotp-458c012e18eda87803ef356221d68955f4b8012d.tar.gz
otp-458c012e18eda87803ef356221d68955f4b8012d.tar.bz2
otp-458c012e18eda87803ef356221d68955f4b8012d.zip
Support OpenSSL 1.1.0
Diffstat (limited to 'lib/crypto/c_src/crypto_callback.c')
-rw-r--r--lib/crypto/c_src/crypto_callback.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/crypto/c_src/crypto_callback.c b/lib/crypto/c_src/crypto_callback.c
index 4c23379f7f..23d2bed057 100644
--- a/lib/crypto/c_src/crypto_callback.c
+++ b/lib/crypto/c_src/crypto_callback.c
@@ -62,7 +62,7 @@ static void nomem(size_t size, const char* op)
abort();
}
-static void* crypto_alloc(size_t size)
+static void* crypto_alloc(size_t size CCB_FILE_LINE_ARGS)
{
void *ret = enif_alloc(size);
@@ -70,7 +70,7 @@ static void* crypto_alloc(size_t size)
nomem(size, "allocate");
return ret;
}
-static void* crypto_realloc(void* ptr, size_t size)
+static void* crypto_realloc(void* ptr, size_t size CCB_FILE_LINE_ARGS)
{
void* ret = enif_realloc(ptr, size);
@@ -78,7 +78,7 @@ static void* crypto_realloc(void* ptr, size_t size)
nomem(size, "reallocate");
return ret;
}
-static void crypto_free(void* ptr)
+static void crypto_free(void* ptr CCB_FILE_LINE_ARGS)
{
enif_free(ptr);
}