upstream: Remove compat code for OpenSSL 1.0.*

versions now that -portable has dropped support for those versions.

OpenBSD-Regress-ID: 82a8eacd87aec28e4aa19f17246ddde9d5ce7fe7
This commit is contained in:
dtucker@openbsd.org 2023-03-27 23:56:54 +00:00 committed by Darren Tucker
parent 727560e601
commit b500afcf00
No known key found for this signature in database
1 changed files with 0 additions and 9 deletions

View File

@ -67,15 +67,6 @@
#include <openssl/ec.h> #include <openssl/ec.h>
#include <openssl/ecdsa.h> #include <openssl/ecdsa.h>
#include <openssl/pem.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 */ #endif /* WITH_OPENSSL */
/* #define SK_DEBUG 1 */ /* #define SK_DEBUG 1 */