sk-usbhid: fix key_lookup() on tokens with built-in UV
authordjm <djm@openbsd.org>
Fri, 2 Sep 2022 04:20:02 +0000 (04:20 +0000)
committerdjm <djm@openbsd.org>
Fri, 2 Sep 2022 04:20:02 +0000 (04:20 +0000)
commite67f83d8f6f9dff1b14b5c51eea147f31633f57a
tree195546298b9c6d5c9bba416da254c415d839b79f
parenteb5b05f32e15e02a758cd47c52cb277245e349e7
sk-usbhid: fix key_lookup() on tokens with built-in UV

explicitly test whether the token performs built-in UV (e.g. biometric
tokens) and enable UV in that case. From Pedro Martelletto via GHPR#388
usr.bin/ssh/sk-usbhid.c