Fix build with LibreSSL

LibreSSL includes work slightly different, need to  specifically rand.h was not included making build fail where RAND_add is used
This commit is contained in:
Bernard Spil 2015-03-29 21:49:05 +02:00
parent 95646b03ca
commit cacca0a56c

View File

@ -43,6 +43,7 @@ POSSIBILITY OF SUCH DAMAGE.
#include <openssl/rc4.h>
#include <openssl/evp.h>
#include <openssl/aes.h>
#include <openssl/rand.h>
#else
// RC4 state from libtomcrypt
struct rc4 {