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:
6c10cec
)
Fixed check for rng in session ID creation of libfast
author
Tobias Brunner
<tobias@strongswan.org>
Fri, 28 Sep 2012 17:07:53 +0000
(19:07 +0200)
committer
Tobias Brunner
<tobias@strongswan.org>
Fri, 28 Sep 2012 17:07:53 +0000
(19:07 +0200)
src/libfast/session.c
patch
|
blob
|
history
diff --git
a/src/libfast/session.c
b/src/libfast/session.c
index
99f2dcb
..
cf14dbe
100644
(file)
--- a/
src/libfast/session.c
+++ b/
src/libfast/session.c
@@
-84,7
+84,7
@@
static bool create_sid(private_session_t *this)
rng_t *rng;
rng = lib->crypto->create_rng(lib->crypto, RNG_WEAK);
- if (rng)
+ if (
!
rng)
{
return FALSE;
}