summaryrefslogtreecommitdiffstats
path: root/regress
diff options
context:
space:
mode:
authordtucker@openbsd.org <dtucker@openbsd.org>2023-03-28 01:56:54 +0200
committerDarren Tucker <dtucker@dtucker.net>2023-03-28 10:03:10 +0200
commitb500afcf00ae1b6b73b2ccf171111dfbfeaef74d (patch)
treeafbc921c609c5940c9e8a6765872991c4a8dce56 /regress
parentPrevent conflicts between Solaris SHA2 and OpenSSL. (diff)
downloadopenssh-b500afcf00ae1b6b73b2ccf171111dfbfeaef74d.tar.xz
openssh-b500afcf00ae1b6b73b2ccf171111dfbfeaef74d.zip
upstream: Remove compat code for OpenSSL 1.0.*
versions now that -portable has dropped support for those versions. OpenBSD-Regress-ID: 82a8eacd87aec28e4aa19f17246ddde9d5ce7fe7
Diffstat (limited to 'regress')
-rw-r--r--regress/misc/sk-dummy/sk-dummy.c9
1 files changed, 0 insertions, 9 deletions
diff --git a/regress/misc/sk-dummy/sk-dummy.c b/regress/misc/sk-dummy/sk-dummy.c
index 1235bea30..79593956d 100644
--- a/regress/misc/sk-dummy/sk-dummy.c
+++ b/regress/misc/sk-dummy/sk-dummy.c
@@ -67,15 +67,6 @@
#include <openssl/ec.h>
#include <openssl/ecdsa.h>
#include <openssl/pem.h>
-
-/* 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
#endif /* WITH_OPENSSL */
/* #define SK_DEBUG 1 */