Skip to content

raop-crypto: add missing header

Rosen Penev requested to merge mangix/pulseaudio:h into master

Fixes compilation without deprecated OpenSSL APIs.

Signed-off-by: Rosen Penev rosenp@gmail.com

../src/modules/raop/raop-crypto.c: In function 'rsa_encrypt': ../src/modules/raop/raop-crypto.c:96:12: error: implicit declaration of function 'BN_bin2bn' [-Werror=implicit-function-declaration] 96 | n_bn = BN_bin2bn(modulus, size, NULL); | ^~~~~~~~~ ../src/modules/raop/raop-crypto.c:96:10: warning: assignment to 'BIGNUM *' {aka 'struct bignum_st *'} from 'int' makes pointer from integer without a cast [-Wint-conversion] 96 | n_bn = BN_bin2bn(modulus, size, NULL); | ^ ../src/modules/raop/raop-crypto.c:104:10: warning: assignment to 'BIGNUM *' {aka 'struct bignum_st *'} from 'int' makes pointer from integer without a cast [-Wint-conversion] 104 | e_bn = BN_bin2bn(exponent, size, NULL); | ^ ../src/modules/raop/raop-crypto.c:133:9: error: implicit declaration of function 'BN_free'; did you mean 'BIO_free'? [-Werror=implicit-function-declaration] 133 | BN_free(e_bn);

Merge request reports