Revert "BUILD: ssl: add ECDSA_SIG_set0() for openssl < 1.1 or libressl < 2.7"

This reverts commit d65791e26c12b57723f2feb7eacdbbd99601371b.

Conflict with the patch which was originally written and lacks the
BN_clear_free() and the NULL check.
This commit is contained in:
William Lallemand 2023-01-19 11:08:42 +01:00
parent d65791e26c
commit 2edc6d0301

View File

@ -325,13 +325,6 @@ static inline X509 *X509_STORE_CTX_get0_cert(X509_STORE_CTX *ctx)
{ {
return ctx->cert; return ctx->cert;
} }
/* note: no error checking, simplified version only */
static inline void ECDSA_SIG_set0(ECDSA_SIG *ecdsa_sig, BIGNUM *ec_R, BIGNUM *ec_S)
{
ecdsa_sig->r = ec_R;
ecdsa_sig->s = ec_S;
}
#endif #endif
#if (HA_OPENSSL_VERSION_NUMBER < 0x3000000fL) #if (HA_OPENSSL_VERSION_NUMBER < 0x3000000fL)