mirror of
https://github.com/sudo-project/sudo.git
synced 2025-08-30 05:48:18 +00:00
print long skey challemged to stderr, not stdout
This commit is contained in:
parent
9e94a58a38
commit
ce5547930e
2
check.c
2
check.c
@ -696,7 +696,7 @@ static char *sudo_skeyprompt(user_skey, p)
|
||||
|
||||
#ifdef LONG_SKEY_PROMPT
|
||||
/* separate s/key challenge and prompt for easy snarfing */
|
||||
(void) printf("key %d %s\n", user_skey->n - 1, user_skey->seed);
|
||||
(void) fprintf(stderr, "key %d %s\n", user_skey->n - 1, user_skey->seed);
|
||||
|
||||
/* return old prompt unmolested */
|
||||
return(p);
|
||||
|
Loading…
x
Reference in New Issue
Block a user