From: Norm Green Date: Tue, 12 May 2020 00:22:47 +0000 (-0700) Subject: Add missing pragma weak declaration to lhash.h X-Git-Tag: openssl-3.0.0-alpha3~81 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=fe92150d69fe475e94d0adbcbf77a07d21af3dae;p=thirdparty%2Fopenssl.git 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) --- diff --git a/include/openssl/lhash.h b/include/openssl/lhash.h index d3f064a8d0a..5ad9b16ab2e 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