Changeset 444


Ignore:
Timestamp:
08/13/10 16:44:58 (18 months ago)
Author:
ludovic.rousseau
Message:

Do not use a variadic parameter for pam_prompt. It is not supported on
FreeBSD.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/pam_pkcs11/pam_pkcs11.c

    r437 r444  
    466466        else 
    467467        { 
    468                 pam_prompt(pamh, PAM_TEXT_INFO, NULL, 
     468                snprintf(password_prompt, sizeof(password_prompt), 
    469469                        _("Enter your %s PIN on the pinpad"), _(configuration->token_type)); 
     470                pam_prompt(pamh, PAM_TEXT_INFO, NULL, password_prompt); 
    470471                /* use pin pad */ 
    471472                password = NULL; 
Note: See TracChangeset for help on using the changeset viewer.