Skip to content

greeter: Handle const qualification differences between Solaris & Linux PAM

Alan Coopersmith requested to merge alanc/xdm:pam into master

Solaris does not specify const on the first argument to PAM conversation functions, nor the third argument to pam_get_item(). Linux PAM does both.

Also constifies value argument to SetValue() to avoid introducing a new -Wdiscarded-qualifier warning.

Cc: @kloczek

Merge request reports