Print this page
remove lint supression made unnecessary by the openssl upgrade
*** 22,33 ****
/*
* 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>
--- 22,31 ----
*** 260,270 ****
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);
/*
--- 258,267 ----
*** 374,390 ****
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++;
--- 371,385 ----
*** 584,601 ****
* 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);
}
--- 579,594 ----