Skip to content
Snippets Groups Projects
Commit f6fe0728 authored by Hauke Mehrtens's avatar Hauke Mehrtens
Browse files

px5g-standalone: activate format-security checks


Signed-off-by: default avatarHauke Mehrtens <hauke@hauke-m.de>

SVN-Revision: 47583
parent 312bf97c
No related branches found
No related tags found
No related merge requests found
......@@ -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
......
......@@ -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;
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment