Changeset 211 in openpam


Ignore:
Timestamp:
May 1, 2003, 11:10:49 PM (12 years ago)
Author:
des
Message:

Constify the return value from pam_getenv(3). This violates XSSO,
but I consider that a bug in the spec.

Location:
trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/include/security/pam_appl.h

    r157 r211  
    3232 * SUCH DAMAGE. 
    3333 * 
    34  * $P4: //depot/projects/openpam/include/security/pam_appl.h#10 $ 
     34 * $P4: //depot/projects/openpam/include/security/pam_appl.h#11 $ 
    3535 */ 
    3636 
     
    8484        const char *_prompt); 
    8585 
    86 char * 
     86const char * 
    8787pam_getenv(pam_handle_t *_pamh, 
    8888        const char *_name); 
  • trunk/lib/pam_getenv.c

    r204 r211  
    3232 * SUCH DAMAGE. 
    3333 * 
    34  * $P4: //depot/projects/openpam/lib/pam_getenv.c#12 $ 
     34 * $P4: //depot/projects/openpam/lib/pam_getenv.c#13 $ 
    3535 */ 
    3636 
     
    4949 */ 
    5050 
    51 char * 
     51const char * 
    5252pam_getenv(pam_handle_t *pamh, 
    5353        const char *name) 
Note: See TracChangeset for help on using the changeset viewer.