From fe92150d69fe475e94d0adbcbf77a07d21af3dae Mon Sep 17 00:00:00 2001 From: Norm Green Date: Mon, 11 May 2020 17:22:47 -0700 Subject: [PATCH] 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 Reviewed-by: Nicola Tuveri Reviewed-by: Tomas Mraz (Merged from https://github.com/openssl/openssl/pull/11798) --- include/openssl/lhash.h | 1 + 1 file changed, 1 insertion(+) 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 -- 2.25.1