diff options
author | Thorsten Kukuk <kukuk@thkukuk.de> | 2005-08-18 09:32:59 +0000 |
---|---|---|
committer | Thorsten Kukuk <kukuk@thkukuk.de> | 2005-08-18 09:32:59 +0000 |
commit | a6c44d77119c67fc06871d6337b95fc5e5f6e385 (patch) | |
tree | 07097f31e4c7694b9475bc756dd3731e6cbe50f9 /libpam/pam_second.c | |
parent | 35daff80ad5e762ab31d83256344b3a0b6e6f2b7 (diff) | |
download | pam-a6c44d77119c67fc06871d6337b95fc5e5f6e385.tar.gz pam-a6c44d77119c67fc06871d6337b95fc5e5f6e385.tar.bz2 pam-a6c44d77119c67fc06871d6337b95fc5e5f6e385.zip |
Relevant BUGIDs: none
Purpose of commit: cleanup
Commit summary:
---------------
Remove unused files.
Diffstat (limited to 'libpam/pam_second.c')
-rw-r--r-- | libpam/pam_second.c | 50 |
1 files changed, 0 insertions, 50 deletions
diff --git a/libpam/pam_second.c b/libpam/pam_second.c deleted file mode 100644 index 75d86650..00000000 --- a/libpam/pam_second.c +++ /dev/null @@ -1,50 +0,0 @@ -/* - * pam_second.c -- PAM secondary authentication - * (based on XSSO draft spec of March 1997) - * - * $Id$ - * - */ - -#include <stdio.h> -#include <stdlib.h> - -#include "pam_private.h" - -/* p 42 */ - -/* XXX - there are actually no plans to support this function. It does - not appear to be very well defined */ - -int pam_authenticate_secondary(pam_handle_t *pamh, - char *target_username, - char *target_module_type, - char *target_authn_domain, - char *target_supp_data, - unsigned char *target_module_authtok, - int flags); - -int pam_authenticate_secondary(pam_handle_t *pamh, - char *target_username UNUSED, - char *target_module_type UNUSED, - char *target_authn_domain UNUSED, - char *target_supp_data UNUSED, - unsigned char *target_module_authtok UNUSED, - int flags UNUSED) -{ - int retval=PAM_SYSTEM_ERR; - - D(("called")); - - _pam_start_timer(pamh); /* we try to make the time for a failure - independent of the time it takes to - fail */ - - IF_NO_PAMH("pam_authenticate_secondary",pamh,PAM_SYSTEM_ERR); - - _pam_await_timer(pamh, retval); /* if unsuccessful then wait now */ - - D(("pam_authenticate_secondary exit")); - - return retval; -} |