--- src/modules/raop/raop_client.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/modules/raop/raop_client.c b/src/modules/raop/raop_client.c index 46147b6..c479ca9 100644 --- a/src/modules/raop/raop_client.c +++ b/src/modules/raop/raop_client.c @@ -172,7 +172,7 @@ static int rsa_encrypt(uint8_t *text, int len, uint8_t *res) { "Q+87X6oV3eaYvt3zWZYD6z5vYTcrtij2VZ9Zmni/UAaHqn9JdsBWLUEpVviYnh" "imNVvYFZeCXg/IdTQ+x4IRdiXNv5hEew=="; const char e[] = "AQAB"; - uint8_t modules[256]; + uint8_t modulus[256]; uint8_t exponent[8]; int size; RSA *rsa; @@ -186,9 +186,9 @@ static int rsa_encrypt(uint8_t *text, int len, uint8_t *res) { goto fail; } - size = pa_base64_decode(n, modules); + size = pa_base64_decode(n, modulus); - n_bn = BN_bin2bn(modules, size, NULL); + n_bn = BN_bin2bn(modulus, size, NULL); if (!n_bn) { pa_log("n_bn = BN_bin2bn() failed."); goto fail; -- 2.10.1