[openssl] OpenSSL_1_1_1-stable update

tmraz at fedoraproject.org tmraz at fedoraproject.org
Thu Jun 4 14:44:13 UTC 2020


The branch OpenSSL_1_1_1-stable has been updated
       via  8354f53d40781630eb4caa1a2ce31eca5296aa29 (commit)
      from  e6a80cbad28ee748830815634917efe96948f2f3 (commit)


- Log -----------------------------------------------------------------
commit 8354f53d40781630eb4caa1a2ce31eca5296aa29
Author: Vladimir Kotal <vladimir.kotal at oracle.com>
Date:   Mon Aug 12 14:02:52 2019 +0200

    enable DECLARE_DEPRECATED macro for Oracle Developer Studio compiler
    
    Reviewed-by: Richard Levitte <levitte at openssl.org>
    Reviewed-by: Tomas Mraz <tmraz at fedoraproject.org>
    (Merged from https://github.com/openssl/openssl/pull/9575)

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

Summary of changes:
 CHANGES                          | 2 +-
 include/openssl/opensslconf.h.in | 5 +++++
 2 files changed, 6 insertions(+), 1 deletion(-)

diff --git a/CHANGES b/CHANGES
index 228408d9f0..8b2fd3f8bd 100644
--- a/CHANGES
+++ b/CHANGES
@@ -9,7 +9,7 @@
 
  Changes between 1.1.1g and 1.1.1h [xx XXX xxxx]
 
-  *)
+  *) The Oracle Developer Studio compiler will start reporting deprecated APIs
 
  Changes between 1.1.1f and 1.1.1g [21 Apr 2020]
 
diff --git a/include/openssl/opensslconf.h.in b/include/openssl/opensslconf.h.in
index bc98cad51a..ee40809aed 100644
--- a/include/openssl/opensslconf.h.in
+++ b/include/openssl/opensslconf.h.in
@@ -77,6 +77,11 @@ extern "C" {
 #   undef DECLARE_DEPRECATED
 #   define DECLARE_DEPRECATED(f)    f __attribute__ ((deprecated));
 #  endif
+# elif defined(__SUNPRO_C)
+#  if (__SUNPRO_C >= 0x5130)
+#   undef DECLARE_DEPRECATED
+#   define DECLARE_DEPRECATED(f)    f __attribute__ ((deprecated));
+#  endif
 # endif
 #endif
 


More information about the openssl-commits mailing list