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:
32400cd
)
Enumerate correct list while removing nonce_gens, fix deregistration
author
Martin Willi
<martin@revosec.ch>
Mon, 21 May 2012 10:28:01 +0000
(12:28 +0200)
committer
Martin Willi
<martin@revosec.ch>
Mon, 21 May 2012 10:28:01 +0000
(12:28 +0200)
src/libstrongswan/crypto/crypto_factory.c
patch
|
blob
|
history
diff --git
a/src/libstrongswan/crypto/crypto_factory.c
b/src/libstrongswan/crypto/crypto_factory.c
index
bd4e05c
..
d368ae3
100644
(file)
--- a/
src/libstrongswan/crypto/crypto_factory.c
+++ b/
src/libstrongswan/crypto/crypto_factory.c
@@
-657,7
+657,7
@@
METHOD(crypto_factory_t, remove_nonce_gen, void,
enumerator_t *enumerator;
this->lock->write_lock(this->lock);
- enumerator = this->nonce_gens->create_enumerator(this->
rng
s);
+ enumerator = this->nonce_gens->create_enumerator(this->
nonce_gen
s);
while (enumerator->enumerate(enumerator, &entry))
{
if (entry->create_nonce_gen == create)