[PATCH v4 2/2] raop: fix typo: modules -> modulus

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



---
 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



[Index of Archives]     [Linux Audio Users]     [AMD Graphics]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux