diff --git a/auth/sudo_auth.h b/auth/sudo_auth.h index 57b6c5d3b..f5a1cfd2d 100644 --- a/auth/sudo_auth.h +++ b/auth/sudo_auth.h @@ -94,7 +94,7 @@ int securid_verify __P((struct passwd *pw, char *pass, sudo_auth *auth)); # define AUTH_STANDALONE \ AUTH_ENTRY(0, "SecurId", \ securid_init, securid_setup, securid_verify, NULL) -#elif defined(HAVE_SIA) +#elif defined(HAVE_SIA_SES_INIT) # define AUTH_STANDALONE \ AUTH_ENTRY(0, "sia", \ NULL, sia_setup, sia_verify, sia_cleanup) diff --git a/config.h.in b/config.h.in index 66901192f..70de108a3 100644 --- a/config.h.in +++ b/config.h.in @@ -354,8 +354,8 @@ /* Define to 1 if you have the `set_auth_parameters' function. */ #undef HAVE_SET_AUTH_PARAMETERS -/* Define to 1 if you use SIA authentication. */ -#undef HAVE_SIA +/* Define to 1 if you have the `sia_ses_init' function. */ +#undef HAVE_SIA_SES_INIT /* Define to 1 if you have the `sigaction' function. */ #undef HAVE_SIGACTION diff --git a/configure b/configure index 1817457d6..4b03834a0 100755 --- a/configure +++ b/configure @@ -20014,10 +20014,6 @@ done if test "$found" = "true"; then AUTH_EXCL=SIA AUTH_OBJS="$AUTH_OBJS sia.o" - cat >>confdefs.h <<\_ACEOF -#define HAVE_SIA 1 -_ACEOF - fi fi @@ -24918,8 +24914,6 @@ fi - - diff --git a/configure.in b/configure.in index ed1485bde..c4c9f51b6 100644 --- a/configure.in +++ b/configure.in @@ -1955,7 +1955,6 @@ if test ${CHECKSIA-'false'} = "true"; then if test "$found" = "true"; then AUTH_EXCL=SIA AUTH_OBJS="$AUTH_OBJS sia.o" - AC_DEFINE(HAVE_SIA) fi fi @@ -2568,7 +2567,6 @@ AH_TEMPLATE(HAVE_PAM, [Define to 1 if you use PAM authentication.]) AH_TEMPLATE(HAVE_PROJECT_H, [Define to 1 if you have the header file.]) AH_TEMPLATE(HAVE_SECURID, [Define to 1 if you use SecurID for authentication.]) AH_TEMPLATE(HAVE_SELINUX, [Define to 1 to enable SELinux RBAC support.]) -AH_TEMPLATE(HAVE_SIA, [Define to 1 if you use SIA authentication.]) AH_TEMPLATE(HAVE_SIGACTION_T, [Define to 1 if has the sigaction_t typedef.]) AH_TEMPLATE(HAVE_SKEY, [Define to 1 if you use S/Key.]) AH_TEMPLATE(HAVE_SKEYACCESS, [Define to 1 if your S/Key library has skeyaccess().])