]> git.ipfire.org Git - thirdparty/openssh-portable.git/commitdiff
- (stevesk) [auth-pam.c] cast to avoid initialization type mismatch
authorKevin Steves <stevesk@pobox.com>
Sun, 21 Jul 2002 22:49:47 +0000 (22:49 +0000)
committerKevin Steves <stevesk@pobox.com>
Sun, 21 Jul 2002 22:49:47 +0000 (22:49 +0000)
   warning on pam_conv struct conversation function.

ChangeLog
auth-pam.c

index 440aa914f77decea984911405f771938f331487b..2847b0bd09878436ff0f651198474b71f4306db7 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -3,6 +3,8 @@
    openssh-3.4p1-owl-password-changing.diff
  - (stevesk) [auth-pam.c] merge rest of solar's PAM patch;
    PAM_NEW_AUTHTOK_REQD remains in #if 0 for now.
+ - (stevesk) [auth-pam.c] cast to avoid initialization type mismatch
+   warning on pam_conv struct conversation function.
 
 20020720
  - (stevesk) [ssh-keygen.c] bug #231: always init/seed_rng().
  - (stevesk) entropy.c: typo in debug message
  - (djm) ssh-keygen -i needs seeded RNG; report from markus@
 
-$Id: ChangeLog,v 1.2382 2002/07/21 17:57:01 stevesk Exp $
+$Id: ChangeLog,v 1.2383 2002/07/21 22:49:47 stevesk Exp $
index 22807f1a9052dcf2c3b11c4bbc6c56a6bc852074..48d5afa0f70b14eb1bc9c8fe10942c91109a6486 100644 (file)
@@ -39,7 +39,7 @@ extern char *__progname;
 
 extern int use_privsep;
 
-RCSID("$Id: auth-pam.c,v 1.49 2002/07/21 17:57:01 stevesk Exp $");
+RCSID("$Id: auth-pam.c,v 1.50 2002/07/21 22:49:47 stevesk Exp $");
 
 #define NEW_AUTHTOK_MSG \
        "Warning: Your password has expired, please change it now."
@@ -51,7 +51,7 @@ static int do_pam_conversation(int num_msg, const struct pam_message **msg,
 
 /* module-local variables */
 static struct pam_conv conv = {
-       do_pam_conversation,
+       (int (*)())do_pam_conversation,
        NULL
 };
 static char *__pam_msg = NULL;