Return to ssh-agent.c CVS log | Up to [local] / src / usr.bin / ssh |
version 1.115, 2003/10/14 19:54:39 | version 1.116, 2003/11/21 11:57:03 | ||
---|---|---|---|
|
|
||
p = read_passphrase(prompt, RP_ALLOW_EOF); | p = read_passphrase(prompt, RP_ALLOW_EOF); | ||
if (p != NULL) { | if (p != NULL) { | ||
/* | /* | ||
* Accept empty responses and responses consisting | * Accept empty responses and responses consisting | ||
* of the word "yes" as affirmative. | * of the word "yes" as affirmative. | ||
*/ | */ | ||
if (*p == '\0' || *p == '\n' || strcasecmp(p, "yes") == 0) | if (*p == '\0' || *p == '\n' || strcasecmp(p, "yes") == 0) |