aboutsummaryrefslogtreecommitdiffstats
path: root/package/utils/px5g-standalone/src
diff options
context:
space:
mode:
authorHauke Mehrtens <hauke@hauke-m.de>2015-11-22 14:16:09 +0000
committerHauke Mehrtens <hauke@hauke-m.de>2015-11-22 14:16:09 +0000
commitf6fe072836750a4e8c5202baf167534df052a898 (patch)
treeabd864dab24cf1fc3c15822abfbb26c80fd726ad /package/utils/px5g-standalone/src
parent312bf97cf1abcf030fcc7a01af54593d61f309dc (diff)
downloadupstream-f6fe072836750a4e8c5202baf167534df052a898.tar.gz
upstream-f6fe072836750a4e8c5202baf167534df052a898.tar.bz2
upstream-f6fe072836750a4e8c5202baf167534df052a898.zip
px5g-standalone: activate format-security checks
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de> SVN-Revision: 47583
Diffstat (limited to 'package/utils/px5g-standalone/src')
-rw-r--r--package/utils/px5g-standalone/src/library/x509write.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/package/utils/px5g-standalone/src/library/x509write.c b/package/utils/px5g-standalone/src/library/x509write.c
index 1091568745..2b0eb71563 100644
--- a/package/utils/px5g-standalone/src/library/x509write.c
+++ b/package/utils/px5g-standalone/src/library/x509write.c
@@ -570,7 +570,7 @@ static int x509write_file(x509_node *node, char *path, int format,
break;
case X509_OUTPUT_PEM:
- if (fprintf(ofstream,pem_prolog)<0) {
+ if (fprintf(ofstream, "%s", pem_prolog)<0) {
is_err = -1;
break;
}
@@ -589,7 +589,7 @@ static int x509write_file(x509_node *node, char *path, int format,
fprintf(ofstream,"%.64s\n",&base_buf[i]);
}
- if (fprintf(ofstream, pem_epilog)<0) {
+ if (fprintf(ofstream, "%s", pem_epilog)<0) {
is_err = -1;
break;
}