Ignore:
Timestamp:
Feb 7, 2019, 8:36:33 AM (5 years ago)
Author:
coas-nagasima
Message:

wolfsslを3.15.7にバージョンアップ

File:
1 edited

Legend:

Unmodified
Added
Removed
  • asp3_tinet_ecnl_arm/trunk/wolfssl-3.12.2/wolfssl/wolfcrypt/visibility.h

    r352 r372  
    2828
    2929/* for compatibility and so that fips is using same name of macro @wc_fips */
    30 #ifdef HAVE_FIPS
     30/* The following visibility wrappers are for old FIPS. New FIPS should use
     31 * the same as a non-FIPS build. */
     32#if defined(HAVE_FIPS) && \
     33    (!defined(HAVE_FIPS_VERSION) || (HAVE_FIPS_VERSION < 2))
    3134    #include <cyassl/ctaocrypt/visibility.h>
    3235    #define WOLFSSL_API   CYASSL_API
     
    4144
    4245#if defined(BUILDING_WOLFSSL)
    43     #if defined(HAVE_VISIBILITY) && HAVE_VISIBILITY
    44         #define WOLFSSL_API   __attribute__ ((visibility("default")))
    45         #define WOLFSSL_LOCAL __attribute__ ((visibility("hidden")))
    46     #elif defined(__SUNPRO_C) && (__SUNPRO_C >= 0x550)
    47         #define WOLFSSL_API   __global
    48         #define WOLFSSL_LOCAL __hidden
    49     #elif defined(_MSC_VER) || defined(__MINGW32__)
     46    #if defined(_MSC_VER) || defined(__MINGW32__)
    5047        #if defined(WOLFSSL_DLL)
    5148            #define WOLFSSL_API __declspec(dllexport)
     
    5451        #endif
    5552        #define WOLFSSL_LOCAL
     53    #elif defined(HAVE_VISIBILITY) && HAVE_VISIBILITY
     54        #define WOLFSSL_API   __attribute__ ((visibility("default")))
     55        #define WOLFSSL_LOCAL __attribute__ ((visibility("hidden")))
     56    #elif defined(__SUNPRO_C) && (__SUNPRO_C >= 0x550)
     57        #define WOLFSSL_API   __global
     58        #define WOLFSSL_LOCAL __hidden
    5659    #else
    5760        #define WOLFSSL_API
Note: See TracChangeset for help on using the changeset viewer.