diff options
author | Damien Miller <djm@cvs.openbsd.org> | 2022-08-19 05:53:29 +0000 |
---|---|---|
committer | Damien Miller <djm@cvs.openbsd.org> | 2022-08-19 05:53:29 +0000 |
commit | 68db1e100a4c18d40522457df6505bf2f51aa8a7 (patch) | |
tree | 6a1fdbc99788a24ca954c26184f25d835db0016a /usr.bin/ssh | |
parent | 1d3f13c9894a0adb96720b034c851f920defabdc (diff) |
remove incorrect check that can break enrolling a resident key
(introduced in r1.40)
Diffstat (limited to 'usr.bin/ssh')
-rw-r--r-- | usr.bin/ssh/sk-usbhid.c | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/usr.bin/ssh/sk-usbhid.c b/usr.bin/ssh/sk-usbhid.c index 220a9fda452..f06e33e1046 100644 --- a/usr.bin/ssh/sk-usbhid.c +++ b/usr.bin/ssh/sk-usbhid.c @@ -1,4 +1,4 @@ -/* $OpenBSD: sk-usbhid.c,v 1.42 2022/08/17 06:01:57 djm Exp $ */ +/* $OpenBSD: sk-usbhid.c,v 1.43 2022/08/19 05:53:28 djm Exp $ */ /* * Copyright (c) 2019 Markus Friedl * Copyright (c) 2020 Pedro Martelletto @@ -661,10 +661,6 @@ key_lookup(fido_dev_t *dev, const char *application, const uint8_t *user_id, size_t i; memset(message, '\0', sizeof(message)); - if (pin == NULL) { - skdebug(__func__, "NULL pin"); - goto out; - } if ((assert = fido_assert_new()) == NULL) { skdebug(__func__, "fido_assert_new failed"); goto out; |