summaryrefslogtreecommitdiffstats
path: root/sk-usbhid.c
diff options
context:
space:
mode:
authordtucker@openbsd.org <dtucker@openbsd.org>2023-03-28 08:12:38 +0200
committerDarren Tucker <dtucker@dtucker.net>2023-03-28 10:03:29 +0200
commit82b2b8326962b1a98af279bc5bbbbbcab15b3e45 (patch)
tree134207d89867b6a64c85d58d04319b8e21d5c8f8 /sk-usbhid.c
parentupstream: Remove compat code for OpenSSL 1.0.* (diff)
downloadopenssh-82b2b8326962b1a98af279bc5bbbbbcab15b3e45.tar.xz
openssh-82b2b8326962b1a98af279bc5bbbbbcab15b3e45.zip
upstream: Remove compat code for OpenSSL < 1.1.*
since -portable no longer supports them. OpenBSD-Commit-ID: ea2893783331947cd29a67612b4e56f818f185ff
Diffstat (limited to 'sk-usbhid.c')
-rw-r--r--sk-usbhid.c10
1 files changed, 1 insertions, 9 deletions
diff --git a/sk-usbhid.c b/sk-usbhid.c
index 46e09c26c..7bb829aa7 100644
--- a/sk-usbhid.c
+++ b/sk-usbhid.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: sk-usbhid.c,v 1.45 2022/09/14 00:14:37 djm Exp $ */
+/* $OpenBSD: sk-usbhid.c,v 1.46 2023/03/28 06:12:38 dtucker Exp $ */
/*
* Copyright (c) 2019 Markus Friedl
* Copyright (c) 2020 Pedro Martelletto
@@ -104,14 +104,6 @@
#define SELECT_MS 15000
#define POLL_SLEEP_NS 200000000
-/* Compatibility with OpenSSH 1.0.x */
-#if (OPENSSL_VERSION_NUMBER < 0x10100000L)
-#define ECDSA_SIG_get0(sig, pr, ps) \
- do { \
- (*pr) = sig->r; \
- (*ps) = sig->s; \
- } while (0)
-#endif
#ifndef FIDO_ERR_OPERATION_DENIED
#define FIDO_ERR_OPERATION_DENIED 0x27
#endif