git: 06eebd227864 - stable/12 - OpenSSL: Reduce diff with the upstream

Jung-uk Kim jkim at FreeBSD.org
Fri Sep 3 18:16:36 UTC 2021


The branch stable/12 has been updated by jkim:

URL: https://cgit.FreeBSD.org/src/commit/?id=06eebd2278649ec12fdf0f56f5afbb6c8c2cfbab

commit 06eebd2278649ec12fdf0f56f5afbb6c8c2cfbab
Author:     Jung-uk Kim <jkim at FreeBSD.org>
AuthorDate: 2021-09-01 04:10:59 +0000
Commit:     Jung-uk Kim <jkim at FreeBSD.org>
CommitDate: 2021-09-03 18:14:57 +0000

    OpenSSL: Reduce diff with the upstream
    
    (cherry picked from commit 649ccdd753790069623e192185d133fd26a03bf9)
---
 secure/lib/libcrypto/opensslconf.h.in | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/secure/lib/libcrypto/opensslconf.h.in b/secure/lib/libcrypto/opensslconf.h.in
index bfd300376f79..f80d1efb5e74 100644
--- a/secure/lib/libcrypto/opensslconf.h.in
+++ b/secure/lib/libcrypto/opensslconf.h.in
@@ -112,6 +112,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 dev-commits-src-all mailing list