mirror of
https://github.com/vanhoefm/fragattacks.git
synced 2024-11-29 02:38:22 -05:00
DPP: Fix build with OpenSSL 1.1.0
X509_ALGOR_get0() was modified to use const ** pointer as the first argument in OpenSSL 1.1.0, so need to use different type here to avoid compilation issues. Signed-off-by: Jouni Malinen <j@w1.fi>
This commit is contained in:
parent
89971d8b1e
commit
809c675029
@ -730,7 +730,11 @@ 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
|
||||||
ASN1_OBJECT *pa_oid;
|
ASN1_OBJECT *pa_oid;
|
||||||
|
#else
|
||||||
|
const ASN1_OBJECT *pa_oid;
|
||||||
|
#endif
|
||||||
const void *pval;
|
const void *pval;
|
||||||
int ptype;
|
int ptype;
|
||||||
const ASN1_OBJECT *poid;
|
const ASN1_OBJECT *poid;
|
||||||
|
Loading…
Reference in New Issue
Block a user