[PATCH 1/3] hostapd: update to 2022-05-08

Andre Heider a.heider at gmail.com
Wed Jun 22 04:05:22 PDT 2022


On 12/06/2022 03:29, Stefan Lippers-Hollmann wrote:
> Hi
> 
> On 2022-06-12, Stefan Lippers-Hollmann wrote:
>> On 2022-06-07, David Bauer wrote:
>>> Update hostapd to Git HEAD from 2022-05-08. This allows us to take
>>> advantage of background radar-detection ad well as BSS color collision.
>>
>> I'm noticing a build failure for wpad-full-openssl since this patch
>> series went in, Debian/ unstable build host (x86_64), x86_64 build
>> target:
> 
> Looking into this further suggests OPENSSL_NO_DEPRECATED=y being the
> cause of this build failure

hostapd still fails to build with OPENSSL_NO_DEPRECATED=y, can this be 
fixed or does it indeed require that setting?

Cheers,
Andre

> 
> [...]
>> ../src/crypto/crypto_openssl.c: In function 'crypto_rsa_oaep_sha256_encrypt':
>> ../src/crypto/crypto_openssl.c:4003:13: warning: implicit declaration of function 'EVP_PKEY_CTX_set_rsa_padding'; did you mean 'EVP_PKEY_CTX_set_dh_pad'? [-Wimplicit-function-declaration]
>>   4003 |             EVP_PKEY_CTX_set_rsa_padding(pkctx, RSA_PKCS1_OAEP_PADDING) <= 0 ||
>>        |             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
>>        |             EVP_PKEY_CTX_set_dh_pad
>> ../src/crypto/crypto_openssl.c:4003:49: error: 'RSA_PKCS1_OAEP_PADDING' undeclared (first use in this function)
>>   4003 |             EVP_PKEY_CTX_set_rsa_padding(pkctx, RSA_PKCS1_OAEP_PADDING) <= 0 ||
>>        |                                                 ^~~~~~~~~~~~~~~~~~~~~~
>> ../src/crypto/crypto_openssl.c:4003:49: note: each undeclared identifier is reported only once for each function it appears in
>> ../src/crypto/crypto_openssl.c:4004:13: warning: implicit declaration of function 'EVP_PKEY_CTX_set_rsa_oaep_md'; did you mean 'EVP_PKEY_CTX_set_dh_kdf_md'? [-Wimplicit-function-declaration]
>>   4004 |             EVP_PKEY_CTX_set_rsa_oaep_md(pkctx, EVP_sha256()) <= 0 ||
>>        |             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
>>        |             EVP_PKEY_CTX_set_dh_kdf_md
>> ../src/crypto/crypto_openssl.c: In function 'crypto_rsa_oaep_sha256_decrypt':
>> ../src/crypto/crypto_openssl.c:4040:49: error: 'RSA_PKCS1_OAEP_PADDING' undeclared (first use in this function)
>>   4040 |             EVP_PKEY_CTX_set_rsa_padding(pkctx, RSA_PKCS1_OAEP_PADDING) <= 0 ||
>>        |                                                 ^~~~~~~~~~~~~~~~~~~~~~
>> make[4]: *** [../src/build.rules:86: /tmp/pkg/openwrt/build_dir/target-x86_64_musl/hostapd-wpad-full-openssl/hostapd-2022-05-08-b859b9bc/build/hostapd/src/crypto/crypto_openssl.o] Error 1
> 
> [...]
> 
>> CONFIG_OPENSSL_NO_DEPRECATED=y
>> # CONFIG_OPENSSL_WITH_DEPRECATED is not set
> 
> and indeed, setting
> 
> CONFIG_OPENSSL_WITH_DEPRECATED=y
> # CONFIG_OPENSSL_NO_DEPRECATED is not set
> 
> instead avoids the build failure.
> 
> Sorry for the noise.
> 
> Regards
> 	Stefan Lippers-Hollmann
> 
> _______________________________________________
> openwrt-devel mailing list
> openwrt-devel at lists.openwrt.org
> https://lists.openwrt.org/mailman/listinfo/openwrt-devel




More information about the openwrt-devel mailing list