Loading crypto/asn1/asn_mime.c +2 −0 Original line number Diff line number Diff line Loading @@ -592,6 +592,8 @@ int SMIME_text(BIO *in, BIO *out) sk_MIME_HEADER_pop_free(headers, mime_hdr_free); while ((len = BIO_read(in, iobuf, sizeof(iobuf))) > 0) BIO_write(out, iobuf, len); if (len < 0) return 0; return 1; } Loading crypto/cms/cms_smime.c +4 −2 Original line number Diff line number Diff line Loading @@ -89,11 +89,13 @@ static int cms_copy_content(BIO *out, BIO *in, unsigned int flags) if (!BIO_get_cipher_status(in)) goto err; } if (i < 0) goto err; break; } if (tmpout) BIO_write(tmpout, buf, i); if (tmpout && (BIO_write(tmpout, buf, i) != i)) goto err; } if(flags & CMS_TEXT) Loading Loading
crypto/asn1/asn_mime.c +2 −0 Original line number Diff line number Diff line Loading @@ -592,6 +592,8 @@ int SMIME_text(BIO *in, BIO *out) sk_MIME_HEADER_pop_free(headers, mime_hdr_free); while ((len = BIO_read(in, iobuf, sizeof(iobuf))) > 0) BIO_write(out, iobuf, len); if (len < 0) return 0; return 1; } Loading
crypto/cms/cms_smime.c +4 −2 Original line number Diff line number Diff line Loading @@ -89,11 +89,13 @@ static int cms_copy_content(BIO *out, BIO *in, unsigned int flags) if (!BIO_get_cipher_status(in)) goto err; } if (i < 0) goto err; break; } if (tmpout) BIO_write(tmpout, buf, i); if (tmpout && (BIO_write(tmpout, buf, i) != i)) goto err; } if(flags & CMS_TEXT) Loading