summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorNorm Green <norm.green@gemtalksystems.com>2020-05-11 17:22:47 -0700
committerTomas Mraz <tmraz@fedoraproject.org>2020-05-19 15:31:14 +0200
commitfe92150d69fe475e94d0adbcbf77a07d21af3dae (patch)
tree24d9b3432374fe7739691b9e1719b39091bcde12 /include
parent6b4eb933623ed1d1997732b7e6e081b788cfdd22 (diff)
Add missing pragma weak declaration to lhash.h
The missing symbol caused a linker failure on solaris x86_64. Fixes #11796 Reviewed-by: Matthias St. Pierre <Matthias.St.Pierre@ncp-e.com> Reviewed-by: Nicola Tuveri <nic.tuv@gmail.com> Reviewed-by: Tomas Mraz <tmraz@fedoraproject.org> (Merged from https://github.com/openssl/openssl/pull/11798)
Diffstat (limited to 'include')
-rw-r--r--include/openssl/lhash.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/openssl/lhash.h b/include/openssl/lhash.h
index d3f064a8d0..5ad9b16ab2 100644
--- a/include/openssl/lhash.h
+++ b/include/openssl/lhash.h
@@ -230,6 +230,7 @@ DEFINE_LHASH_OF(OPENSSL_CSTRING);
*/
# 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