X-Git-Url: http://git.code-monkey.de/?a=blobdiff_plain;f=src%2Fcrypt.c;h=f3e74d8079863f7a40b334a077e6c093abacec1c;hb=772cee17b53bb6795a5e98f1ae2acb7e7d6c25c1;hp=8324bca5dc24b8050ccaaa3ae4320afd13092e69;hpb=14a67bc74c81651015bbbad075f7eb1c41218cf7;p=umurmur.git diff --git a/src/crypt.c b/src/crypt.c index 8324bca..f3e74d8 100644 --- a/src/crypt.c +++ b/src/crypt.c @@ -1,5 +1,5 @@ -/* Copyright (C) 2009-2010, Martin Johansson - Copyright (C) 2005-2010, Thorvald Natvig +/* Copyright (C) 2009-2012, Martin Johansson + Copyright (C) 2005-2012, Thorvald Natvig All rights reserved. @@ -41,16 +41,10 @@ #include #include #include "crypt.h" +#include "ssl.h" #ifdef USE_POLARSSL #include -#define RAND_bytes(_dst_, _size_) do { \ - int i; \ - for (i = 0; i < _size_; i++) { \ - _dst_[i] = havege_rand(&hs); \ - } \ - } while (0); - extern havege_state hs; #endif