Print this page
4853 illumos-gate is not lint-clean when built with openssl 1.0

Split Close
Expand all
Collapse all
          --- old/usr/src/lib/openssl/include/des_locl.h
          +++ new/usr/src/lib/openssl/include/des_locl.h
↓ open down ↓ 157 lines elided ↑ open up ↑
 158  158                          case 2: *(--(c))=(unsigned char)(((l1)>> 8L)&0xff); \
 159  159                          case 1: *(--(c))=(unsigned char)(((l1)     )&0xff); \
 160  160                                  } \
 161  161                          }
 162  162  
 163  163  #if (defined(OPENSSL_SYS_WIN32) && defined(_MSC_VER)) || defined(__ICC)
 164  164  #define ROTATE(a,n)     (_lrotr(a,n))
 165  165  #elif defined(__GNUC__) && __GNUC__>=2 && !defined(__STRICT_ANSI__) && !defined(OPENSSL_NO_ASM) && !defined(OPENSSL_NO_INLINE_ASM) && !defined(PEDANTIC)
 166  166  # if defined(__i386) || defined(__i386__) || defined(__x86_64) || defined(__x86_64__)
 167  167  #  define ROTATE(a,n)   ({ register unsigned int ret;   \
 168      -                                asm ("rorl %1,%0"       \
      168 +                                __asm__ ("rorl %1,%0"   \
 169  169                                          : "=r"(ret)     \
 170  170                                          : "I"(n),"0"(a) \
 171  171                                          : "cc");        \
 172  172                             ret;                         \
 173  173                          })
 174  174  # endif
 175  175  #endif
 176  176  #ifndef ROTATE
 177  177  #define ROTATE(a,n)     (((a)>>(n))+((a)<<(32-(n))))
 178  178  #endif
↓ open down ↓ 254 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX