Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 0 additions & 2 deletions test/test_encrypt.c
Original file line number Diff line number Diff line change
Expand Up @@ -147,7 +147,6 @@ int file_crypto_encrypt_case(OAES_CTX *ctx, const char *src, const char *dst) {
// open output file
FILE *ofp = fopen(dst, "wb+");
if (NULL == ifp) {
fclose(ifp);
printf("Error: Failed to open the output file.\n");
return 1;
}
Expand Down Expand Up @@ -188,7 +187,6 @@ uint8_t *file_crypto_decrypt_case(OAES_CTX *ctx, const char *src, const char *ds
// open output file
FILE *ofp = fopen(dst, "wb+");
if (NULL == ifp) {
fclose(ifp);
printf("Error: Failed to open the output file.\n");
return NULL;
}
Expand Down