strongswan.org
Wiki/Project Management
Downloads
Gitweb
projects
/
strongswan.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
adad211
)
- definitions of random devices moved
author
Jan Hutter
<jhutter@hsr.ch>
Fri, 25 Nov 2005 08:55:12 +0000
(08:55 -0000)
committer
Jan Hutter
<jhutter@hsr.ch>
Fri, 25 Nov 2005 08:55:12 +0000
(08:55 -0000)
Source/charon/definitions.h
patch
|
blob
|
history
diff --git
a/Source/charon/definitions.h
b/Source/charon/definitions.h
index
a6e2ba6
..
d170cef
100644
(file)
--- a/
Source/charon/definitions.h
+++ b/
Source/charon/definitions.h
@@
-156,7
+156,15
@@
struct mapping_t
char *mapping_find(mapping_t *mappings, int value);
char *mapping_find(mapping_t *mappings, int value);
+/**
+ * Default random device used when no device is given.
+ */
+#define DEFAULT_RANDOM_DEVICE "/dev/random"
+/**
+ * Pseudo random device used when no device is given.
+ */
+#define DEFAULT_PSEUDO_RANDOM_DEVICE "/dev/urandom"
#endif /*DEFINITIONS_H_*/
#endif /*DEFINITIONS_H_*/