X-Git-Url: https://git.saurik.com/apple/security.git/blobdiff_plain/b1ab9ed8d0e0f1c3b66d7daa8fd5564444c56195..e3d3b979fd185d8303f28a937baa53a187fb8c7d:/libsecurity_checkpw/lib/checkpw.c?ds=inline diff --git a/libsecurity_checkpw/lib/checkpw.c b/libsecurity_checkpw/lib/checkpw.c index f5207f7d..1d1b2071 100644 --- a/libsecurity_checkpw/lib/checkpw.c +++ b/libsecurity_checkpw/lib/checkpw.c @@ -20,9 +20,11 @@ #include "checkpw.h" #include +#include #define PAM_STACK_NAME "checkpw" +static int checkpw_internal_pam( const char* uname, const char* password ) { int checkpwret = CHECKPW_FAILURE; @@ -76,6 +78,8 @@ pamerr_no_end: } +#warning TODO: this should be declared in some header. +int checkpw_internal( const struct passwd* pw, const char* password ); int checkpw_internal( const struct passwd* pw, const char* password ) { return checkpw(pw->pw_name, password);