Skip to content
  • Brian Cameron's avatar
    Update to make casting more clear. This fixes a problem noticed with the · bdd6a656
    Brian Cameron authored
    2006-11-06  Brian Cameron  <brian.cameron@sun.com>
    
            * daemon/verify-pam.c: Update to make casting more clear.
              This fixes a problem noticed with the Kerberos PAM module.
              Kerberos was sending the proper error message but gdm was not
              accessing it properly.  This message comes as "struct pam_message"
              and is accesed using a double pointer "**msg".GDM was treating
              msg as a pointer to an array of "num_msg"s of "struct pam_message"
              whereas it actually is pointer to a pointer to an array of
             "num_msg"s of "struct pam_message".
    bdd6a656