pki: Provide a fallback if strptime() not supported
For simplicity, we support the default pki datetime format only, but optionally accept four digit years for longer lifetimes.
This commit is contained in:
+1
-1
@@ -570,7 +570,7 @@ AC_CHECK_FUNC(
|
||||
)
|
||||
|
||||
AC_CHECK_FUNCS(prctl mallinfo getpass closefrom getpwnam_r getgrnam_r getpwuid_r)
|
||||
AC_CHECK_FUNCS(fmemopen funopen mmap memrchr setlinebuf)
|
||||
AC_CHECK_FUNCS(fmemopen funopen mmap memrchr setlinebuf strptime)
|
||||
|
||||
AC_CHECK_FUNC([syslog], [
|
||||
AC_DEFINE([HAVE_SYSLOG], [], [have syslog(3) and friends])
|
||||
|
||||
Reference in New Issue
Block a user