OSDN Git Service
(root)
/
android-x86
/
external-ffmpeg.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a64a577
)
rtmpdh: Make sure ret is initialized in the nettle version of bn_hex2bn
author
Martin Storsjö
<martin@martin.st>
Thu, 28 May 2015 06:47:44 +0000
(09:47 +0300)
committer
Martin Storsjö
<martin@martin.st>
Fri, 29 May 2015 06:42:24 +0000
(09:42 +0300)
Signed-off-by: Martin Storsjö <martin@martin.st>
libavformat/rtmpdh.c
patch
|
blob
|
history
diff --git
a/libavformat/rtmpdh.c
b/libavformat/rtmpdh.c
index
38c2f3d
..
ddb2a46
100644
(file)
--- a/
libavformat/rtmpdh.c
+++ b/
libavformat/rtmpdh.c
@@
-77,6
+77,8
@@
bn_new(bn); \
if (bn) \
ret = (mpz_set_str(bn, buf, 16) == 0); \
+ else \
+ ret = 1; \
} while (0)
#define bn_modexp(bn, y, q, p) mpz_powm(bn, y, q, p)
#define bn_random(bn, num_bytes) \