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

Split Close
Expand all
Collapse all
          --- old/usr/src/lib/openssl/libsunw_crypto/cms/cms_io.c
          +++ new/usr/src/lib/openssl/libsunw_crypto/cms/cms_io.c
↓ open down ↓ 47 lines elided ↑ open up ↑
  48   48   * STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
  49   49   * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED
  50   50   * OF THE POSSIBILITY OF SUCH DAMAGE.
  51   51   * ====================================================================
  52   52   */
  53   53  
  54   54  #include <openssl/asn1t.h>
  55   55  #include <openssl/x509.h>
  56   56  #include <openssl/err.h>
  57   57  #include <openssl/pem.h>
  58      -#include "cms.h"
  59      -#include "cms_lcl.h"
       58 +#include <openssl/cms.h>
       59 +#include <cms_lcl.h>
  60   60  
  61   61  int CMS_stream(unsigned char ***boundary, CMS_ContentInfo *cms)
  62   62          {
  63   63          ASN1_OCTET_STRING **pos;
  64   64          pos = CMS_get0_content(cms);
  65   65          if (!pos)
  66   66                  return 0;
  67   67          if (!*pos)
  68   68                  *pos = ASN1_OCTET_STRING_new();
  69   69          if (*pos)
↓ open down ↓ 63 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX