pk_sign: fix overriding and ignoring return values
diff --git a/ChangeLog b/ChangeLog
index dd04b1d..d63b604 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -24,6 +24,8 @@
ECPrivateKey structure. Found by jethrogb, fixed in #1379.
* Return plaintext data sooner on unpadded CBC decryption, as stated in
the mbedtls_cipher_update() documentation. Contributed by Andy Leiserson.
+ * Fix overriding and ignoring return values when parsing and writing to
+ a file in pk_sign program. Found by kevlut in #1142.
Changes
* Improve testing in configurations that omit certain hashes or