summaryrefslogtreecommitdiffstats
path: root/base/native-tools
diff options
context:
space:
mode:
Diffstat (limited to 'base/native-tools')
-rw-r--r--base/native-tools/src/tkstool/secutil.c4
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),