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/libsunw_crypto/bn/bn_const.c
          +++ new/usr/src/lib/openssl/libsunw_crypto/bn/bn_const.c
   1    1  /* crypto/bn/knownprimes.c */
   2    2  /* Insert boilerplate */
   3    3  
   4      -#include "bn.h"
        4 +#include <openssl/bn.h>
   5    5  
   6    6  /* "First Oakley Default Group" from RFC2409, section 6.1.
   7    7   *
   8    8   * The prime is: 2^768 - 2 ^704 - 1 + 2^64 * { [2^638 pi] + 149686 }
   9    9   *
  10   10   * RFC2409 specifies a generator of 2.
  11   11   * RFC2412 specifies a generator of of 22.
  12   12   */
  13   13  
  14   14  BIGNUM *get_rfc2409_prime_768(BIGNUM *bn)
↓ open down ↓ 387 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX