Print this page
4853 illumos-gate is not lint-clean when built with openssl 1.0 (initial commit, openssl 1.0.1h)

@@ -22,12 +22,10 @@
 /*
  * Copyright 2002-2003 Sun Microsystems, Inc.  All rights reserved.
  * Use is subject to license terms.
  */
 
-#pragma ident   "%Z%%M% %I%     %E% SMI"
-
 #include <stdio.h>
 #include <libintl.h>
 #include <locale.h>
 #include <sys/types.h>
 #include <sys/stat.h>

@@ -260,11 +258,10 @@
                 if (ta_in != NULL) {
                         X509 *x;
                         int i;
 
                         for (i = 0; i < sk_X509_num(ta_in); i++) {
-                                /* LINTED */
                                 x = sk_X509_value(ta_in, i);
                                 (void) printf(
                                     gettext("\nTrust Anchor cert %d:\n"), i);
 
                                 /*

@@ -374,17 +371,15 @@
 
         if (ta_in == NULL)
                 return;
 
         for (i = 0; i < sk_X509_num(ta_in); ) {
-                /* LINTED */
                 curr = sk_X509_value(ta_in, i);
                 ret = time_check_print(curr);
                 if ((ret != CHK_TIME_OK && ret != CHK_TIME_IS_BEFORE) &&
                     del_expired) {
                         (void) fprintf(stderr, gettext("  Removing cert\n"));
-                        /* LINTED */
                         curr = sk_X509_delete(ta_in, i);
                         X509_free(curr);
                         continue;
                 }
                 i++;

@@ -584,18 +579,16 @@
          * be freed two times.  (If they get left in the stack then
          * they will be freed with the stack.)
          */
         if (clist != NULL) {
                 if (cert != NULL && sk_X509_num(clist) == 1) {
-                        /* LINTED */
                         (void) sk_X509_delete(clist, 0);
                 }
                 sk_X509_pop_free(clist, X509_free);
         }
         if (klist != NULL) {
                 if (pkey != NULL && sk_EVP_PKEY_num(klist) == 1) {
-                        /* LINTED */
                         (void) sk_EVP_PKEY_delete(klist, 0);
                 }
                 sk_EVP_PKEY_pop_free(klist, sunw_evp_pkey_free);
         }