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


  44  * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
  45  * NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
  46  * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
  47  * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT,
  48  * STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
  49  * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED
  50  * OF THE POSSIBILITY OF SUCH DAMAGE.
  51  * ====================================================================
  52  *
  53  * This product includes cryptographic software written by Eric Young
  54  * (eay@cryptsoft.com).  This product includes software written by Tim
  55  * Hudson (tjh@cryptsoft.com).
  56  *
  57  */
  58 
  59 #include <stdio.h>
  60 #include "cryptlib.h"
  61 #include <openssl/objects.h>
  62 #include <openssl/bn.h>
  63 #include <openssl/x509v3.h>
  64 #include "ts.h"
  65 
  66 struct status_map_st
  67         {
  68         int bit;
  69         const char *text;
  70         };
  71 
  72 /* Local function declarations. */
  73 
  74 static int TS_status_map_print(BIO *bio, struct status_map_st *a,
  75                                ASN1_BIT_STRING *v);
  76 static int TS_ACCURACY_print_bio(BIO *bio, const TS_ACCURACY *accuracy);
  77 
  78 /* Function definitions. */
  79 
  80 int TS_RESP_print_bio(BIO *bio, TS_RESP *a)
  81         {
  82         TS_TST_INFO *tst_info;
  83 
  84         BIO_printf(bio, "Status info:\n");




  44  * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
  45  * NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
  46  * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
  47  * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT,
  48  * STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
  49  * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED
  50  * OF THE POSSIBILITY OF SUCH DAMAGE.
  51  * ====================================================================
  52  *
  53  * This product includes cryptographic software written by Eric Young
  54  * (eay@cryptsoft.com).  This product includes software written by Tim
  55  * Hudson (tjh@cryptsoft.com).
  56  *
  57  */
  58 
  59 #include <stdio.h>
  60 #include "cryptlib.h"
  61 #include <openssl/objects.h>
  62 #include <openssl/bn.h>
  63 #include <openssl/x509v3.h>
  64 #include <openssl/ts.h>
  65 
  66 struct status_map_st
  67         {
  68         int bit;
  69         const char *text;
  70         };
  71 
  72 /* Local function declarations. */
  73 
  74 static int TS_status_map_print(BIO *bio, struct status_map_st *a,
  75                                ASN1_BIT_STRING *v);
  76 static int TS_ACCURACY_print_bio(BIO *bio, const TS_ACCURACY *accuracy);
  77 
  78 /* Function definitions. */
  79 
  80 int TS_RESP_print_bio(BIO *bio, TS_RESP *a)
  81         {
  82         TS_TST_INFO *tst_info;
  83 
  84         BIO_printf(bio, "Status info:\n");