From 2a555e40ba3c895435fef0f5006c739ae12c8352 Mon Sep 17 00:00:00 2001 From: dtucker Date: Mon, 27 Mar 2023 23:56:54 +0000 Subject: [PATCH] Remove compatibility code for OpenSSL 1.0.* versions now that -portable has dropped support for those versions. --- regress/usr.bin/ssh/misc/sk-dummy/sk-dummy.c | 9 --------- 1 file changed, 9 deletions(-) diff --git a/regress/usr.bin/ssh/misc/sk-dummy/sk-dummy.c b/regress/usr.bin/ssh/misc/sk-dummy/sk-dummy.c index 472327f08f0..e2cc284902e 100644 --- a/regress/usr.bin/ssh/misc/sk-dummy/sk-dummy.c +++ b/regress/usr.bin/ssh/misc/sk-dummy/sk-dummy.c @@ -35,15 +35,6 @@ /* #define SK_DEBUG 1 */ -/* 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 - #if SSH_SK_VERSION_MAJOR != 0x000a0000 # error SK API has changed, sk-dummy.c needs an update #endif -- 2.20.1