mirror of
https://git.haproxy.org/git/haproxy.git/
synced 2025-09-23 06:41:32 +02:00
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:
parent
d65791e26c
commit
2edc6d0301
@ -325,13 +325,6 @@ static inline X509 *X509_STORE_CTX_get0_cert(X509_STORE_CTX *ctx)
|
||||
{
|
||||
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
|
||||
|
||||
#if (HA_OPENSSL_VERSION_NUMBER < 0x3000000fL)
|
||||
|
Loading…
x
Reference in New Issue
Block a user