[openssl] master update

Dr. Paul Dale pauli at openssl.org
Sun Feb 21 12:04:48 UTC 2021


The branch master has been updated
       via  937a62323b67bfff59c795e90df3acf66bb4579a (commit)
      from  57acc56bdcdf2a7f084cf480f6f1d8f250735b0c (commit)


- Log -----------------------------------------------------------------
commit 937a62323b67bfff59c795e90df3acf66bb4579a
Author: jwalch <jeremy.walch at gmail.com>
Date:   Fri Feb 19 17:58:17 2021 -0500

    -Wunused-function cleanup
    
    core_dispatch.h seems to be the source of some compiler warnings with legacy applications in alpha12 now that it is implicitly exported via evp.h
    
    Reviewed-by: Matt Caswell <matt at openssl.org>
    Reviewed-by: Paul Dale <pauli at openssl.org>
    (Merged from https://github.com/openssl/openssl/pull/14260)

-----------------------------------------------------------------------

Summary of changes:
 include/openssl/core_dispatch.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/include/openssl/core_dispatch.h b/include/openssl/core_dispatch.h
index 0377424434..c4e109156f 100644
--- a/include/openssl/core_dispatch.h
+++ b/include/openssl/core_dispatch.h
@@ -44,7 +44,7 @@ extern "C" {
  */
 #define OSSL_CORE_MAKE_FUNC(type,name,args)                             \
     typedef type (OSSL_FUNC_##name##_fn)args;                           \
-    static ossl_inline \
+    static ossl_unused ossl_inline \
     OSSL_FUNC_##name##_fn *OSSL_FUNC_##name(const OSSL_DISPATCH *opf)   \
     {                                                                   \
         return (OSSL_FUNC_##name##_fn *)opf->function;                  \


More information about the openssl-commits mailing list