From: dtucker Date: Tue, 28 Mar 2023 06:12:38 +0000 (+0000) Subject: Remove compatibility code for OpenSSL versions prior to 1.1.* since X-Git-Url: http://artulab.com/gitweb/?a=commitdiff_plain;h=f96d262ec5b58a669d5eb522d15bd27181115328;p=openbsd Remove compatibility code for OpenSSL versions prior to 1.1.* since -portable no longer supports them. --- diff --git a/usr.bin/ssh/sk-usbhid.c b/usr.bin/ssh/sk-usbhid.c index 430ce648a5f..fd528c50f1e 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.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 @@ -65,14 +65,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