]> granicus.if.org Git - linux-pam/commitdiff
pam_unix: remove obsolete _unix_read_password prototype
authorDmitry V. Levin <ldv@altlinux.org>
Thu, 31 May 2018 00:20:18 +0000 (00:20 +0000)
committerDmitry V. Levin <ldv@altlinux.org>
Thu, 31 May 2018 00:20:18 +0000 (00:20 +0000)
The function was removed by commit Linux-PAM-1.3.0~5
so the function prototype should go as well.

* modules/pam_unix/support.h (_unix_read_password): Remove.

Complements: 7e09188c5dc4 ("pam_unix: Use pam_get_authtok() instead of
direct pam_prompt() calls.")

modules/pam_unix/support.h

index b4c279c308e6e7eef3f113b2f25dd9ed0e8c119c..543e9b9f0720c5c7f3f7eef28dbf73e22d96b335 100644 (file)
@@ -164,13 +164,6 @@ extern int _unix_blankpasswd(pam_handle_t *pamh,unsigned int ctrl,
                             const char *name);
 extern int _unix_verify_password(pam_handle_t * pamh, const char *name
                          ,const char *p, unsigned int ctrl);
-extern int _unix_read_password(pam_handle_t * pamh
-                       ,unsigned int ctrl
-                       ,const char *comment
-                       ,const char *prompt1
-                       ,const char *prompt2
-                       ,const char *data_name
-                       ,const void **pass);
 
 extern int _unix_run_verify_binary(pam_handle_t *pamh,
                        unsigned int ctrl, const char *user, int *daysleft);