module-raop: fix compilation

This commit is contained in:
Wim Taymans 2023-03-16 14:50:22 +01:00
parent 5333c969a4
commit cb46c8c5f9

View file

@ -1152,7 +1152,7 @@ done:
BIGNUM *e_bn = BN_bin2bn(exponent, esize, NULL); BIGNUM *e_bn = BN_bin2bn(exponent, esize, NULL);
if (rsa == NULL || n_bn == NULL || e_bn == NULL) if (rsa == NULL || n_bn == NULL || e_bn == NULL)
goto error; goto error;
RSA_set0_key(rsa, n_bn, e_bn NULL); RSA_set0_key(rsa, n_bn, e_bn, NULL);
n_bn = e_bn = NULL; n_bn = e_bn = NULL;
if ((res = RSA_public_encrypt(len, data, enc, rsa, RSA_PKCS1_OAEP_PADDING)) <= 0) if ((res = RSA_public_encrypt(len, data, enc, rsa, RSA_PKCS1_OAEP_PADDING)) <= 0)
goto error; goto error;