Remove compatibility code for OpenSSL 1.0.* versions now that -portable
authordtucker <dtucker@openbsd.org>
Mon, 27 Mar 2023 23:56:54 +0000 (23:56 +0000)
committerdtucker <dtucker@openbsd.org>
Mon, 27 Mar 2023 23:56:54 +0000 (23:56 +0000)
has dropped support for those versions.

regress/usr.bin/ssh/misc/sk-dummy/sk-dummy.c

index 472327f..e2cc284 100644 (file)
 
 /* #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