mirror of
git://anongit.mindrot.org/openssh.git
synced 2024-12-28 04:52:07 +00:00
upstream: missing else in check_enroll_options()
OpenBSD-Commit-ID: e058fb918fda56ddbbf0bee910101004cec421d4
This commit is contained in:
parent
ff5784e269
commit
3cc60c899a
@ -465,7 +465,7 @@ check_enroll_options(struct sk_option **options, char **devicep,
|
||||
return -1;
|
||||
}
|
||||
skdebug(__func__, "requested device %s", *devicep);
|
||||
} if (strcmp(options[i]->name, "user") == 0) {
|
||||
} else if (strcmp(options[i]->name, "user") == 0) {
|
||||
if (strlcpy(user_id, options[i]->value, user_id_len) >=
|
||||
user_id_len) {
|
||||
skdebug(__func__, "user too long");
|
||||
|
Loading…
Reference in New Issue
Block a user