diff --git a/src/common/dpp.c b/src/common/dpp.c index 805507c63..f9bf8c2db 100644 --- a/src/common/dpp.c +++ b/src/common/dpp.c @@ -811,7 +811,7 @@ static int dpp_parse_uri_pk(struct dpp_bootstrap_info *bi, const char *info) const unsigned char *pk; int ppklen; X509_ALGOR *pa; -#if OPENSSL_VERSION_NUMBER < 0x10100000L +#if OPENSSL_VERSION_NUMBER < 0x10100000L || defined(LIBRESSL_VERSION_NUMBER) ASN1_OBJECT *pa_oid; #else const ASN1_OBJECT *pa_oid;