mirror of
https://github.com/Yubico/yubico-pam.git
synced 2025-01-19 16:52:17 +01:00
snprintf returns an int, not a size_t. reported by clang.
This commit is contained in:
parent
5e7dd56c2f
commit
dc9146ffcb
@ -841,7 +841,7 @@ pam_sm_authenticate (pam_handle_t * pamh,
|
||||
{
|
||||
const char *query_template = "Yubikey for `%s': ";
|
||||
size_t len = strlen (query_template) + strlen (user);
|
||||
size_t wrote;
|
||||
int wrote;
|
||||
|
||||
msg[0].msg = malloc (len);
|
||||
if (!msg[0].msg)
|
||||
|
Loading…
x
Reference in New Issue
Block a user