aboutsummaryrefslogtreecommitdiffstats
path: root/crypto/crypto.h
diff options
context:
space:
mode:
authorDr. Stephen Henson <steve@openssl.org>2000-01-02 18:52:58 +0000
committerDr. Stephen Henson <steve@openssl.org>2000-01-02 18:52:58 +0000
commit3d14b9d04a73c3563efba12f16fd179b7aed4fbf (patch)
tree2f7976cb613382226a6ee3d31d7792da97d2a0aa /crypto/crypto.h
parent20432eae41e35ea28a4d43c0dfc7acfdd9672812 (diff)
downloadopenssl-3d14b9d04a73c3563efba12f16fd179b7aed4fbf.tar.gz
Add support for MS "fast SGC".
Diffstat (limited to 'crypto/crypto.h')
-rw-r--r--crypto/crypto.h7
1 files changed, 4 insertions, 3 deletions
diff --git a/crypto/crypto.h b/crypto/crypto.h
index e890c6926b..6324e54658 100644
--- a/crypto/crypto.h
+++ b/crypto/crypto.h
@@ -200,11 +200,12 @@ typedef struct crypto_ex_data_func_st
#define CRYPTO_EX_INDEX_X509_STORE_CTX 5
-#if 0 /* unnecessary, it's the default and cannot be changed back later anyway */
-/* This is the default callbacks, but we can have others as well */
+/* This is the default callbacks, but we can have others as well:
+ * this is needed in Win32 where the application malloc and the
+ * library malloc may not be the same.
+ */
#define CRYPTO_malloc_init() CRYPTO_set_mem_functions(\
malloc, realloc, free)
-#endif
#if defined CRYPTO_MDEBUG_ALL || defined CRYPTO_MDEBUG_TIME || defined CRYPTO_MDEBUG_THREAD
# ifndef CRYPTO_MDEBUG /* avoid duplicate #define */