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_ssl/bio_ssl.c
          +++ new/usr/src/lib/openssl/libsunw_ssl/bio_ssl.c
↓ open down ↓ 52 lines elided ↑ open up ↑
  53   53   * The licence and distribution terms for any publically available version or
  54   54   * derivative of this code cannot be changed.  i.e. this code cannot simply be
  55   55   * copied and put under another distribution licence
  56   56   * [including the GNU Public Licence.]
  57   57   */
  58   58  
  59   59  #include <stdio.h>
  60   60  #include <stdlib.h>
  61   61  #include <string.h>
  62   62  #include <errno.h>
       63 +#include <openssl/opensslconf.h>
  63   64  #include <openssl/crypto.h>
  64   65  #include <openssl/bio.h>
  65   66  #include <openssl/err.h>
  66   67  #include <openssl/ssl.h>
  67   68  
  68   69  static int ssl_write(BIO *h, const char *buf, int num);
  69   70  static int ssl_read(BIO *h, char *buf, int size);
  70   71  static int ssl_puts(BIO *h, const char *str);
  71   72  static long ssl_ctrl(BIO *h, int cmd, long arg1, void *arg2);
  72   73  static int ssl_new(BIO *h);
↓ open down ↓ 533 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX