Sebastian Kemper c447f856fb FS-11659 [core] Fix implicit declaration of RAND_bytes
Since the update to openssl-1.1.1a the compile fails like this:

  CC       src/libfreeswitch_la-switch_rtp.lo
src/switch_rtp.c: In function 'switch_rtp_get_random':
src/switch_rtp.c:2419:2: error: implicit declaration of function 'RAND_bytes'; did you mean 'RSA_bits'? [-Werror=implicit-function-declaration]
  RAND_bytes(buf, len);
  ^~~~~~~~~~
  RSA_bits
cc1: all warnings being treated as errors
make[4]: *** [Makefile:2377: src/libfreeswitch_la-switch_rtp.lo] Error 1

This patch adds the missing include.

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
2019-02-15 22:06:14 +01:00
2015-05-28 12:47:19 -05:00
2018-07-24 07:21:50 +00:00
2019-01-17 15:38:13 +08:00
2015-12-15 17:02:49 +00:00
2014-12-26 17:22:20 +00:00
Description
FreeSWITCH is a Software Defined Telecom Stack enabling the digital transformation from proprietary telecom switches to a versatile software implementation that runs on any commodity hardware. From a Raspberry PI to a multi-core server, FreeSWITCH can unl
Multiple Licenses 355 MiB
Languages
C 65.2%
C++ 20.8%
JavaScript 4.7%
Assembly 2%
Makefile 1.1%
Other 5.4%