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

*** 258,267 **** --- 258,268 ---- 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); /*
*** 371,385 **** --- 372,388 ---- 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++;
*** 579,594 **** --- 582,599 ---- * 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); }