---
* [Bug 3144] NTP does not build without openSSL <perlinger@ntp.org>
-
+ - added missed changeset for automatic openssl lib detection
+ - fixed some minor warning issues
---
(4.2.8p9) 2016/11/21 Released by Harlan Stenn <stenn@ntp.org>
void *wrap_dbg_malloc(size_t s, const char *f, int l);
void *wrap_dbg_realloc(void *p, size_t s, const char *f, int l);
void wrap_dbg_free(void *p);
+void wrap_dbg_free_ex(void *p, const char *f, int l);
#endif
{
#if OPENSSL_VERSION_NUMBER >= 0x10100000L
# ifdef WRAP_DBG_MALLOC
- CRYPTO_set_mem_functions(wrap_dbg_malloc, wrap_dbg_realloc, wrap_dbg_free);
+ CRYPTO_set_mem_functions(wrap_dbg_malloc, wrap_dbg_realloc, wrap_dbg_free_ex);
# else
OPENSSL_malloc_init();
# endif
{
_free_dbg(p, _NORMAL_BLOCK);
}
+
+void wrap_dbg_free_ex(void *p, const char *f, int l)
+{
+ (void)f;
+ (void)l;
+ _free_dbg(p, _NORMAL_BLOCK);
+}
#endif /* WRAP_DBG_MALLOC */
void *wrap_dbg_malloc(size_t s, const char *f, int l);
void *wrap_dbg_realloc(void *p, size_t s, const char *f, int l);
void wrap_dbg_free(void *p);
+void wrap_dbg_free_ex(void *p, const char *f, int l);
#endif
void WINAPI