projects
/
umurmur.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Add support for PolarSSL 1.1.1
[umurmur.git]
/
src
/
crypt.c
diff --git
a/src/crypt.c
b/src/crypt.c
index 7188c2d92cf084c19de265bf0424c38e5c64603d..5025ba7788dcac745f48689f99962d69cf6e9076 100644
(file)
--- a/
src/crypt.c
+++ b/
src/crypt.c
@@
-41,16
+41,10
@@
#include <string.h>
#include <arpa/inet.h>
#include "crypt.h"
#include <string.h>
#include <arpa/inet.h>
#include "crypt.h"
+#include "ssl.h"
#ifdef USE_POLARSSL
#include <polarssl/havege.h>
#ifdef USE_POLARSSL
#include <polarssl/havege.h>
-#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
extern havege_state hs;
#endif