diff options
author | Matthew Harmsen <mharmsen@redhat.com> | 2013-12-16 15:17:57 -0800 |
---|---|---|
committer | Matthew Harmsen <mharmsen@redhat.com> | 2013-12-18 17:33:14 -0800 |
commit | 3b7705f419782ea712577a5b06aa3f161f42b9c2 (patch) | |
tree | 9f96a7445afcadc727aac99a600fe6f7f4a9ed60 /base/native-tools/src | |
parent | cbfe95ec0b320713a3375e77975779d8acfaf5aa (diff) | |
download | pki-3b7705f419782ea712577a5b06aa3f161f42b9c2.tar.gz pki-3b7705f419782ea712577a5b06aa3f161f42b9c2.tar.xz pki-3b7705f419782ea712577a5b06aa3f161f42b9c2.zip |
Replace '-Wformat-security' warning with '-Werror=format-security' error
Bugzilla Bug #1037248 - pki-core FTBFS if "-Werror=format-security" flag is used
Bugzilla Bug #1037249 - pki-tps FTBFS if "-Werror=format-security" flag is used
Diffstat (limited to 'base/native-tools/src')
-rw-r--r-- | base/native-tools/src/tkstool/secutil.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/base/native-tools/src/tkstool/secutil.c b/base/native-tools/src/tkstool/secutil.c index 9ece007fa..9cf2c37dc 100644 --- a/base/native-tools/src/tkstool/secutil.c +++ b/base/native-tools/src/tkstool/secutil.c @@ -1003,7 +1003,7 @@ secu_PrintTime(FILE *out, int64 time, char *m, int level) } PR_FormatTime(timeString, 100, "%a %b %d %H:%M:%S %Y", &printableTime); - fprintf(out, timeString); + fprintf(out, "%s", timeString); if (m != NULL) fprintf(out, "\n"); @@ -2584,7 +2584,7 @@ SECU_PrintCRLInfo(FILE *out, CERTCrl *crl, char *m, int level) iv = 0; while ((entry = crl->entries[iv++]) != NULL) { sprintf(om, "Entry (%x):\n", iv); - SECU_Indent(out, level + 1); fprintf(out, om); + SECU_Indent(out, level + 1); fprintf(out, "%s", om); SECU_PrintInteger(out, &(entry->serialNumber), "Serial Number", level + 2); SECU_PrintTimeChoice(out, &(entry->revocationDate), |