mirror of
https://github.com/vanhoefm/fragattacks.git
synced 2025-02-26 13:49:35 -05:00
Revert "BoringSSL: Add DPP special cases regardless of claimed version number"
This reverts commit 5548453a2d0061cf5d65180dca5d0141e15e14bb since BoringSSL added ECDSA_SIG_set0() and ECDSA_SIG_get0() in commit 8dc226ca8f1ef60737e1c1bf8cfcabf51d4068c7 ('Add some missing OpenSSL 1.1.0 accessors.') and updated X509_ALGOR_get0() prototype to match OpenSSL 1.1.0 changes in commit e3b2a5d30d309091cab3e6a19dee7323c40d968d ('Const-correct X509_ALGOR_get0.'). Signed-off-by: Jouni Malinen <j@w1.fi>
This commit is contained in:
parent
0f30844722
commit
a5da39607d
@ -43,7 +43,7 @@ static int dpp_test_gen_invalid_key(struct wpabuf *msg,
|
|||||||
const struct dpp_curve_params *curve);
|
const struct dpp_curve_params *curve);
|
||||||
#endif /* CONFIG_TESTING_OPTIONS */
|
#endif /* CONFIG_TESTING_OPTIONS */
|
||||||
|
|
||||||
#if OPENSSL_VERSION_NUMBER < 0x10100000L || defined(OPENSSL_IS_BORINGSSL)
|
#if OPENSSL_VERSION_NUMBER < 0x10100000L
|
||||||
/* Compatibility wrappers for older versions. */
|
/* Compatibility wrappers for older versions. */
|
||||||
|
|
||||||
static int ECDSA_SIG_set0(ECDSA_SIG *sig, BIGNUM *r, BIGNUM *s)
|
static int ECDSA_SIG_set0(ECDSA_SIG *sig, BIGNUM *r, BIGNUM *s)
|
||||||
@ -811,7 +811,7 @@ static int dpp_parse_uri_pk(struct dpp_bootstrap_info *bi, const char *info)
|
|||||||
const unsigned char *pk;
|
const unsigned char *pk;
|
||||||
int ppklen;
|
int ppklen;
|
||||||
X509_ALGOR *pa;
|
X509_ALGOR *pa;
|
||||||
#if OPENSSL_VERSION_NUMBER < 0x10100000L || defined(OPENSSL_IS_BORINGSSL)
|
#if OPENSSL_VERSION_NUMBER < 0x10100000L
|
||||||
ASN1_OBJECT *pa_oid;
|
ASN1_OBJECT *pa_oid;
|
||||||
#else
|
#else
|
||||||
const ASN1_OBJECT *pa_oid;
|
const ASN1_OBJECT *pa_oid;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user