mirror of https://git.ffmpeg.org/ffmpeg.git
rtmpdh: Make sure ret is initialized in the nettle version of bn_hex2bn
Signed-off-by: Martin Storsjö <martin@martin.st>
This commit is contained in:
parent
a64a5773ea
commit
78efc69e7c
|
@ -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) \
|
||||
|
|
Loading…
Reference in New Issue