summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorMatt Caswell <matt@openssl.org>2020-09-11 14:04:51 +0100
committerMatt Caswell <matt@openssl.org>2020-09-18 13:30:44 +0100
commit028b31b32da97ada44140120297511eae518ed42 (patch)
treee753f7e8aaf86f35b132c5e838215332ae00e864 /include
parentefffd8a6e452102dbf25b1f801c9312211c5fe4a (diff)
Remove some unneeded code from lhash.h
lhash.h had some workaround code for the issue where static inline functions contained references to libcrypto symbols in public header files. Since this issue no longer exists this workaround code can be removed. Reviewed-by: Richard Levitte <levitte@openssl.org> (Merged from https://github.com/openssl/openssl/pull/12860)
Diffstat (limited to 'include')
-rw-r--r--include/openssl/lhash.h26
1 files changed, 0 insertions, 26 deletions
diff --git a/include/openssl/lhash.h b/include/openssl/lhash.h
index 816b613eaf..ccdd3a60ee 100644
--- a/include/openssl/lhash.h
+++ b/include/openssl/lhash.h
@@ -256,32 +256,6 @@ DEFINE_LHASH_OF(OPENSSL_CSTRING);
# pragma warning (pop)
# endif
-/*
- * If called without higher optimization (min. -xO3) the Oracle Developer
- * Studio compiler generates code for the defined (static inline) functions
- * above.
- * This would later lead to the linker complaining about missing symbols when
- * this header file is included but the resulting object is not linked against
- * the Crypto library (openssl#6912).
- */
-# ifdef __SUNPRO_C
-# pragma weak OPENSSL_LH_new
-# pragma weak OPENSSL_LH_flush
-# pragma weak OPENSSL_LH_free
-# pragma weak OPENSSL_LH_insert
-# pragma weak OPENSSL_LH_delete
-# pragma weak OPENSSL_LH_retrieve
-# pragma weak OPENSSL_LH_error
-# pragma weak OPENSSL_LH_num_items
-# pragma weak OPENSSL_LH_node_stats_bio
-# pragma weak OPENSSL_LH_node_usage_stats_bio
-# pragma weak OPENSSL_LH_stats_bio
-# pragma weak OPENSSL_LH_get_down_load
-# pragma weak OPENSSL_LH_set_down_load
-# pragma weak OPENSSL_LH_doall
-# pragma weak OPENSSL_LH_doall_arg
-# endif /* __SUNPRO_C */
-
#ifdef __cplusplus
}
#endif