aescbc: flush before exit and report an error (if any)
This commit is contained in:
parent
e2a8d3493a
commit
add3a0a4da
1 changed files with 3 additions and 1 deletions
|
@ -146,6 +146,8 @@ main(int argc, char **argv)
|
||||||
sysfatal("decrypted file failed to authenticate");
|
sysfatal("decrypted file failed to authenticate");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
exits("");
|
if(Bflush(&bout) != 0)
|
||||||
|
sysfatal("write: %r");
|
||||||
|
exits(nil);
|
||||||
return 1; /* keep other compilers happy */
|
return 1; /* keep other compilers happy */
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue