Print this page
remove lint supression made unnecessary by the openssl upgrade

Split Close
Expand all
Collapse all
          --- old/usr/src/cmd/cmd-inet/usr.lib/wanboot/wanboot-cgi/wanboot-cgi.c
          +++ new/usr/src/cmd/cmd-inet/usr.lib/wanboot/wanboot-cgi/wanboot-cgi.c
↓ open down ↓ 869 lines elided ↑ open up ↑
 870  870                  errtype = 1;
 871  871                  goto cleanup;
 872  872          }
 873  873          PKCS12_free(p12);
 874  874          p12 = NULL;
 875  875  
 876  876          /*
 877  877           * Merge the two stacks of pkcs12 certs.
 878  878           */
 879  879          for (i = 0; i < sk_X509_num(i_anchors); i++) {
 880      -                /* LINTED */
 881  880                  x = sk_X509_delete(i_anchors, i);
 882  881                  (void) sk_X509_push(o_anchors, x);
 883  882          }
 884  883  
 885  884          /*
 886  885           * Create the pkcs12 structure from the modified input stack and
 887  886           * then write out that structure.
 888  887           */
 889  888          p12 = sunw_PKCS12_create((const char *)WANBOOT_PASSPHRASE, NULL, NULL,
 890  889              o_anchors);
↓ open down ↓ 192 lines elided ↑ open up ↑
1083 1082              NULL, NULL, &certs);
1084 1083          if (i <= 0) {
1085 1084                  errtype = 1;
1086 1085                  goto cleanup;
1087 1086          }
1088 1087  
1089 1088          PKCS12_free(p12);
1090 1089          p12 = NULL;
1091 1090  
1092 1091          for (i = 0; i < sk_X509_num(certs); i++) {
1093      -                /* LINTED */
1094 1092                  x = sk_X509_value(certs, i);
1095 1093                  if (!one_name(sunw_issuer_attrs(x, buf, sizeof (buf) - 1),
1096 1094                      nvl)) {
1097 1095                          goto cleanup;
1098 1096                  }
1099 1097          }
1100 1098  
1101 1099          ret = WBCGI_FTW_CBCONT;
1102 1100  cleanup:
1103 1101          if (ret == WBCGI_FTW_CBERR) {
↓ open down ↓ 800 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX