aboutsummaryrefslogtreecommitdiffstats
path: root/package
diff options
context:
space:
mode:
Diffstat (limited to 'package')
-rw-r--r--package/utils/px5g-standalone/Makefile1
-rw-r--r--package/utils/px5g-standalone/src/library/x509write.c4
2 files changed, 2 insertions, 3 deletions
diff --git a/package/utils/px5g-standalone/Makefile b/package/utils/px5g-standalone/Makefile
index bd0267693b..38f60c3762 100644
--- a/package/utils/px5g-standalone/Makefile
+++ b/package/utils/px5g-standalone/Makefile
@@ -11,7 +11,6 @@ PKG_NAME:=px5g-standalone
PKG_RELEASE:=2
PKG_BUILD_DIR := $(BUILD_DIR)/$(PKG_NAME)
-PKG_CHECK_FORMAT_SECURITY:=0
include $(INCLUDE_DIR)/package.mk
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;
}