strongswan.org
Wiki/Project Management
Downloads
Gitweb
projects
/
strongswan.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
initialize new struct msg_digest
[strongswan.git]
/
src
/
pluto
/
demux.c
diff --git
a/src/pluto/demux.c
b/src/pluto/demux.c
index
c943a11
..
5509bd2
100644
(file)
--- a/
src/pluto/demux.c
+++ b/
src/pluto/demux.c
@@
-971,7
+971,10
@@
malloc_md(void)
static const struct msg_digest blank_md;
if (md == NULL)
static const struct msg_digest blank_md;
if (md == NULL)
+ {
md = malloc_thing(struct msg_digest);
md = malloc_thing(struct msg_digest);
+ zero(md);
+ }
else
md_pool = md->next;
else
md_pool = md->next;