mirror of
https://gitlab.com/openconnect/ocserv.git
synced 2026-02-09 08:16:58 +08:00
inih: increased max line size
This also removes the stop on first error directive which was set but not used for very long time. Resolves: #364 Signed-off-by: Nikos Mavrogiannopoulos <n.mavrogiannopoulos@gmail.com>
This commit is contained in:
1
NEWS
1
NEWS
@@ -4,6 +4,7 @@
|
||||
- Don't apply BanIP checks to clients on the same subnet (#360)
|
||||
- Don't attempt TLS if the client closes the connection with zero data
|
||||
sent (#357)
|
||||
- Increased the maximum configuration line (#364)
|
||||
|
||||
|
||||
* Version 1.1.1 (released 2020-09-21)
|
||||
|
||||
@@ -623,9 +623,9 @@ AC_ARG_WITH(werror,
|
||||
AC_SUBST([SRC_CFLAGS], [${src_cflags}])
|
||||
|
||||
dnl config options for inih
|
||||
AC_DEFINE([INI_STOP_ON_FIRST_ERROR], [1], [inih configuration])
|
||||
AC_DEFINE([INI_INLINE_COMMENT_PREFIXES], ["#"], [inih configuration])
|
||||
AC_DEFINE([INI_ALLOW_MULTILINE], [1], [inih configuration])
|
||||
AC_DEFINE([INI_MAX_LINE], [2048], [inih configuration])
|
||||
|
||||
if test "$have_cwrap_pam" = yes; then
|
||||
m4_ifdef([PKG_CHECK_VAR], [PKG_CHECK_VAR([CWRAP_PAM_MODULES], [pam_wrapper], [modules])])
|
||||
|
||||
@@ -15,6 +15,8 @@ https://github.com/benhoyt/inih
|
||||
#define _CRT_SECURE_NO_WARNINGS
|
||||
#endif
|
||||
|
||||
#include <config.h>
|
||||
|
||||
#include <stdio.h>
|
||||
#include <ctype.h>
|
||||
#include <string.h>
|
||||
|
||||
Reference in New Issue
Block a user