commit | b8b28a64ff45fd88fd51b7af78452da5b10288f3 | [log] [tgz] |
---|---|---|
author | Adam Langley <agl@google.com> | Thu Mar 10 09:20:47 2016 -0800 |
committer | David Benjamin <davidben@google.com> | Thu Mar 10 17:44:23 2016 +0000 |
tree | 57bcdcc8ec975d150eae57274c540ccd4bfcd033 | |
parent | 8f307d3805db102a5f2afffed821acff6b30c98e [diff] |
Add CRYPTO_[malloc|free|realloc] as aliases for the OPENSSL_𝑥 names. This makes building OpenLDAP easier. Change-Id: Ic1c5bcb2ec35c61c048e780ebc56db033d8382d8 Reviewed-on: https://boringssl-review.googlesource.com/7406 Reviewed-by: David Benjamin <davidben@google.com>
diff --git a/include/openssl/mem.h b/include/openssl/mem.h index ba48f07..31756f0 100644 --- a/include/openssl/mem.h +++ b/include/openssl/mem.h
@@ -124,6 +124,13 @@ OPENSSL_PRINTF_FORMAT_FUNC(3, 0); +/* Deprecated functions. */ + +#define CRYPTO_malloc OPENSSL_malloc +#define CRYPTO_realloc OPENSSL_realloc +#define CRYPTO_free OPENSSL_free + + #if defined(__cplusplus) } /* extern C */ #endif