projects
/
platform
/
upstream
/
pulseaudio.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2ee5dff
)
raop: fix typo: modules -> modulus
author
Tanu Kaskinen
<tanuk@iki.fi>
Mon, 7 Nov 2016 15:12:56 +0000
(17:12 +0200)
committer
Tanu Kaskinen
<tanuk@iki.fi>
Tue, 20 Nov 2018 08:26:11 +0000
(10:26 +0200)
src/modules/raop/raop-crypto.c
patch
|
blob
|
history
diff --git
a/src/modules/raop/raop-crypto.c
b/src/modules/raop/raop-crypto.c
index
a267e77
..
83a862c
100644
(file)
--- a/
src/modules/raop/raop-crypto.c
+++ b/
src/modules/raop/raop-crypto.c
@@
-74,7
+74,7
@@
static const char rsa_exponent[] =
"AQAB";
static int rsa_encrypt(uint8_t *data, int len, uint8_t *str) {
- uint8_t modul
e
s[256];
+ uint8_t modul
u
s[256];
uint8_t exponent[8];
int size;
RSA *rsa;
@@
-91,9
+91,9
@@
static int rsa_encrypt(uint8_t *data, int len, uint8_t *str) {
goto fail;
}
- size = pa_raop_base64_decode(rsa_modulus, modul
e
s);
+ size = pa_raop_base64_decode(rsa_modulus, modul
u
s);
- n_bn = BN_bin2bn(modul
e
s, size, NULL);
+ n_bn = BN_bin2bn(modul
u
s, size, NULL);
if (!n_bn) {
pa_log("n_bn = BN_bin2bn() failed.");
goto fail;