Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Files should be opened as binary mode #1

Closed
Immortal-guard opened this issue Sep 22, 2022 · 0 comments
Closed

Files should be opened as binary mode #1

Immortal-guard opened this issue Sep 22, 2022 · 0 comments

Comments

@Immortal-guard
Copy link

Immortal-guard commented Sep 22, 2022

encrypt_v1.c > line 208 and 216 should be changed to

fp_in = fopen(infile, "rb");
fp_out = fopen(outfile, "wb");

Instead of

fp_in = fopen(infile, "r");

fp_out = fopen(outfile, "w");

to work properly.

@Immortal-guard Immortal-guard changed the title Files should be opened as binary mode mode Files should be opened as binary mode Sep 22, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant