mirror of
https://github.com/cryb-to/cryb-otp.git
synced 2024-11-23 22:15:42 +00:00
Remove support for a static PAM module, improving portability.
This commit is contained in:
parent
e6f26116a2
commit
23c871052f
1 changed files with 2 additions and 4 deletions
|
@ -38,7 +38,7 @@
|
||||||
|
|
||||||
#include <cryb/otp.h>
|
#include <cryb/otp.h>
|
||||||
|
|
||||||
PAM_EXTERN int
|
int
|
||||||
pam_sm_authenticate(pam_handle_t *pamh, int flags,
|
pam_sm_authenticate(pam_handle_t *pamh, int flags,
|
||||||
int argc, const char *argv[])
|
int argc, const char *argv[])
|
||||||
{
|
{
|
||||||
|
@ -51,7 +51,7 @@ pam_sm_authenticate(pam_handle_t *pamh, int flags,
|
||||||
return (PAM_AUTH_ERR);
|
return (PAM_AUTH_ERR);
|
||||||
}
|
}
|
||||||
|
|
||||||
PAM_EXTERN int
|
int
|
||||||
pam_sm_setcred(pam_handle_t *pamh, int flags,
|
pam_sm_setcred(pam_handle_t *pamh, int flags,
|
||||||
int argc, const char *argv[])
|
int argc, const char *argv[])
|
||||||
{
|
{
|
||||||
|
@ -63,5 +63,3 @@ pam_sm_setcred(pam_handle_t *pamh, int flags,
|
||||||
(void)argv;
|
(void)argv;
|
||||||
return (PAM_SUCCESS);
|
return (PAM_SUCCESS);
|
||||||
}
|
}
|
||||||
|
|
||||||
PAM_MODULE_ENTRY("pam_otp");
|
|
||||||
|
|
Loading…
Reference in a new issue