]> git.ipfire.org Git - thirdparty/ntp.git/commitdiff
[Bug 1121] [CID 47] double fclose() in ntp-keygen.c
authorHarlan Stenn <stenn@ntp.org>
Mon, 19 Jan 2009 07:58:27 +0000 (02:58 -0500)
committerHarlan Stenn <stenn@ntp.org>
Mon, 19 Jan 2009 07:58:27 +0000 (02:58 -0500)
bk: 497432a3V9njL2WO56RKOHxv2rMCcg

ChangeLog
util/ntp-keygen.c

index 604d7eab5a7a9f8795daa2c9eeebc127c6c7cce7..db7a623e97efb82146368243ae1ae255bc7b047a 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,4 @@
+* [Bug 1121] [CID 47] double fclose() in ntp-keygen.c.
 (4.2.5p155) 2009/01/18 Released by Harlan Stenn <stenn@ntp.org>
 * Documentation updates from Dave Mills.
 * CHU frequency updates.
index 392657f3b495d8a1083ab66adf53bd3f011f1a13..f6aa55b8965dfe4f8b6e9194fbe963d82857d631 100644 (file)
@@ -823,7 +823,6 @@ readkey(
                fprintf(stderr, "Corrupt file %s or wrong key %s\n%s\n",
                    cp, passwd, ERR_error_string(ERR_get_error(),
                    NULL));
-               fclose(str);
                exit (-1);
        }
        *estamp = gstamp;