aboutsummaryrefslogtreecommitdiffstats
path: root/lib/crypto/c_src/crypto_callback.c
diff options
context:
space:
mode:
authorBjörn Gustavsson <[email protected]>2016-12-09 10:12:09 +0100
committerBjörn Gustavsson <[email protected]>2016-12-09 10:13:57 +0100
commit53aa4605b8c23ec1cb7d5a79625db00ebdd63423 (patch)
tree44ad08ff6186a5b2a849ba1de3dea7936c060949 /lib/crypto/c_src/crypto_callback.c
parent25d76cf3def28eecfdb31bce42345c375c629600 (diff)
parent458c012e18eda87803ef356221d68955f4b8012d (diff)
downloadotp-53aa4605b8c23ec1cb7d5a79625db00ebdd63423.tar.gz
otp-53aa4605b8c23ec1cb7d5a79625db00ebdd63423.tar.bz2
otp-53aa4605b8c23ec1cb7d5a79625db00ebdd63423.zip
Merge branch 'bjorn/crypto/support-openssl-1.1'
* bjorn/crypto/support-openssl-1.1: Support OpenSSL 1.1.0 crypto.c: Disable broken code for ChaCha and Poly1305 configure.in: Fix configure test for usable OpenSSL configure.in: Fix test for SSL with Kerberos OTP-13900
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);
}