Modify the authentication API such that the init and cleanup functions
are always called, regardless of whether or not we are going to verify a password. This is needed for proper PAM session support.
This commit is contained in:
@@ -53,7 +53,7 @@
|
||||
#include "sudo_auth.h"
|
||||
|
||||
int
|
||||
secureware_init(struct passwd *pw, char **promptp, sudo_auth *auth)
|
||||
secureware_init(struct passwd *pw, sudo_auth *auth)
|
||||
{
|
||||
#ifdef __alpha
|
||||
extern int crypt_type;
|
||||
|
Reference in New Issue
Block a user