mirror of
https://github.com/openwrt/packages.git
synced 2025-12-22 16:54:32 +04:00
Cleaned up Makefile slightly. The removed CMAKE_OPTIONS are defaults from cmake.mk Removed Upstreamed patches. Rebased and added .patch to the remaining one. Added -Wformat-security patch. Signed-off-by: Rosen Penev <rosenp@gmail.com>
12 lines
337 B
Diff
12 lines
337 B
Diff
--- a/src/io.c
|
|
+++ b/src/io.c
|
|
@@ -62,7 +62,7 @@ nc_ssl_error_get_reasons(void)
|
|
ERRMEM;
|
|
return NULL;
|
|
}
|
|
- reason_len += sprintf(reasons + reason_len, ERR_reason_error_string(e));
|
|
+ reason_len += sprintf(reasons + reason_len, "%s", ERR_reason_error_string(e));
|
|
}
|
|
|
|
return reasons;
|