mirror of
https://github.com/mtrojnar/osslsigncode.git
synced 2025-05-21 02:44:28 -05:00
fixed merge fail
This commit is contained in:
parent
2d8764f8f9
commit
b34b3b67e7
@ -994,18 +994,11 @@ int main(int argc, char **argv)
|
|||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
|
|
||||||
<<<<<<< HEAD
|
if (type == FILE_TYPE_CAB || type == FILE_TYPE_PE) {
|
||||||
/* Create outdata file */
|
/* Create outdata file */
|
||||||
outdata = BIO_new_file(outfile, "w+b");
|
outdata = BIO_new_file(outfile, "w+b");
|
||||||
if (outdata == NULL)
|
if (outdata == NULL)
|
||||||
DO_EXIT_1("Failed to create file: %s\n", outfile);
|
DO_EXIT_1("Failed to create file: %s\n", outfile);
|
||||||
=======
|
|
||||||
if (type == FILE_TYPE_CAB || type == FILE_TYPE_PE) {
|
|
||||||
/* Create outdata file */
|
|
||||||
outdata = BIO_new_file(outfile, "wb");
|
|
||||||
if (outdata == NULL)
|
|
||||||
DO_EXIT_1("Failed to create file: %s\n", outfile);
|
|
||||||
>>>>>>> elmarco/master
|
|
||||||
|
|
||||||
BIO_push(hash, outdata);
|
BIO_push(hash, outdata);
|
||||||
}
|
}
|
||||||
@ -1256,12 +1249,8 @@ int main(int argc, char **argv)
|
|||||||
BIO_write(outdata, buf, 4);
|
BIO_write(outdata, buf, 4);
|
||||||
PUT_UINT32_LE(len+8+padlen, buf);
|
PUT_UINT32_LE(len+8+padlen, buf);
|
||||||
BIO_write(outdata, buf, 4);
|
BIO_write(outdata, buf, 4);
|
||||||
<<<<<<< HEAD
|
|
||||||
recalc_pe_checksum(outdata, peheader);
|
recalc_pe_checksum(outdata, peheader);
|
||||||
} else {
|
|
||||||
=======
|
|
||||||
} else if (type == FILE_TYPE_CAB) {
|
} else if (type == FILE_TYPE_CAB) {
|
||||||
>>>>>>> elmarco/master
|
|
||||||
(void)BIO_seek(outdata, 0x30);
|
(void)BIO_seek(outdata, 0x30);
|
||||||
PUT_UINT32_LE(len+padlen, buf);
|
PUT_UINT32_LE(len+padlen, buf);
|
||||||
BIO_write(outdata, buf, 4);
|
BIO_write(outdata, buf, 4);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user