Tobias Brunner
31a416a5b2
Removed stray *_plugin_create() declarations from header files
2013-06-11 11:18:19 +02:00
Tobias Brunner
460488b180
eap-radius: Do initialization in a plugin feature callback
2013-06-11 11:18:19 +02:00
Tobias Brunner
49d7a98f47
Refactored plugin-loader with improved dependency resolution
...
With the new implementation the plugins don't have to be listed in any
special order, dependencies are properly resolved. The order only
matters if two plugins provide the same feature.
2013-06-11 11:18:19 +02:00
Tobias Brunner
facc781500
android-log: Use plugin features
2013-06-11 11:18:19 +02:00
Tobias Brunner
df60999b5f
android-dns: Use plugin features to register attribute handler
2013-06-11 11:18:19 +02:00
Tobias Brunner
e183a6c36d
maemo: Use plugin features
2013-06-11 11:18:19 +02:00
Tobias Brunner
6d766925b2
medsrv: Use plugin features with dependency on database implementation
2013-06-11 11:18:19 +02:00
Tobias Brunner
da7c3f8900
medcli: Use plugin features with dependency on database implementation
2013-06-11 11:18:19 +02:00
Tobias Brunner
d0ccae4dd2
whitelist: Use plugin features to register listener
2013-06-11 11:18:19 +02:00
Tobias Brunner
49d333ac67
updown: Use plugin features to register listener and attribute handler
2013-06-11 11:18:19 +02:00
Tobias Brunner
819cb66298
unity: Use plugin features to register listener and attribute handler/provider
2013-06-11 11:18:19 +02:00
Tobias Brunner
b033d59d1e
unit-tester: Use plugin features
2013-06-11 11:18:19 +02:00
Tobias Brunner
e1360331e9
uci: Use plugin features to register backend and credential set
2013-06-11 11:18:19 +02:00
Tobias Brunner
36f27c1506
systime-fix: Use plugin features to register validator
2013-06-11 11:18:19 +02:00
Tobias Brunner
c1f5841bb2
smp: Use plugin features
2013-06-11 11:18:19 +02:00
Tobias Brunner
64b0c2575f
radattr: Use plugin features to register listener
2013-06-11 11:18:18 +02:00
Tobias Brunner
d94c0913b1
lookip: Use plugin features to register listener
2013-06-11 11:18:18 +02:00
Tobias Brunner
dfe97d63d8
led: Use plugin features to register listener
2013-06-11 11:18:18 +02:00
Tobias Brunner
da04914933
test-vectors: Use plugin features
2013-06-11 11:18:18 +02:00
Tobias Brunner
17f00db6d6
revocation: Use plugin features with soft dependencies on fetcher and en-/decoding
2013-06-11 11:18:18 +02:00
Tobias Brunner
25da1943b3
padlock: Use plugin features to properly register algorithms
2013-06-11 11:18:18 +02:00
Tobias Brunner
7756c0383e
pkcs11: Use plugin_features_add() in get_features()
2013-06-11 11:18:18 +02:00
Tobias Brunner
886a40d75e
plugin-feature: Added helper function to extend arrays of plugin features
2013-06-11 11:18:18 +02:00
Tobias Brunner
c172a92bfb
constraints: Use plugin features with soft dependency on X.509 decoding
2013-06-11 11:18:18 +02:00
Tobias Brunner
e3bdf03af4
blowfish: Use plugin features to properly register crypter
2013-06-11 11:18:18 +02:00
Tobias Brunner
8f49a8d0a6
resolve: Use plugin features to register attribute handler
2013-06-11 11:18:18 +02:00
Tobias Brunner
44d5e10d9e
attr: Use plugin features to register attribute provider
2013-06-11 11:18:18 +02:00
Tobias Brunner
21d094f402
ipseckey: Allow en-/disabling at runtime using plugin reload feature
2013-06-11 11:18:18 +02:00
Tobias Brunner
82d3f5122b
ipseckey: Use plugin features and depend on RESOLVER
...
Also fixed a double-free of the resolver instance.
2013-06-11 11:18:18 +02:00
Tobias Brunner
d895721489
unbound: Use plugin features and provide RESOLVER
2013-06-11 11:18:18 +02:00
Tobias Brunner
f5bd1a5e09
plugin-feature: Add feature for DNSSEC-enabled resolvers
2013-06-11 11:18:18 +02:00
Tobias Brunner
924196d6d4
ha: Use plugin features to register listeners and attribute provider
2013-06-11 11:18:18 +02:00
Tobias Brunner
e5f4b3ca5b
farp: Use plugin features to register listener
2013-06-11 11:18:17 +02:00
Tobias Brunner
aa71f5f515
error-notify: Use plugin features to register listener
2013-06-11 11:18:17 +02:00
Tobias Brunner
57c29f6895
duplicheck: Use plugin features to register listener
2013-06-11 11:18:17 +02:00
Tobias Brunner
6c51ff745c
coupling: Use plugin features and soft depend on SHA1
2013-06-11 11:18:17 +02:00
Tobias Brunner
0c52198bc1
certexpire: Use plugin features to register listener
2013-06-11 11:18:17 +02:00
Tobias Brunner
94ca7252c1
addrblock: Use plugin features with soft dependency on X.509 decoding
2013-06-11 11:18:17 +02:00
Tobias Brunner
12459a4dc8
dhcp: Use plugin features with dependency to RNG implementation
2013-06-11 11:18:17 +02:00
Tobias Brunner
11a27ea28f
sql: Use plugin features with dependency to database backend
2013-06-11 11:18:17 +02:00
Tobias Brunner
989ec772b5
attr-sql: Use plugin features with dependency to database backend
2013-06-11 11:18:17 +02:00
Tobias Brunner
8a6cc1e35f
plugin-feature: Function added to exactly compare plugin features
2013-06-11 11:18:17 +02:00
Tobias Brunner
270e425b24
Socket plugins soft depend on the kernel-ipsec plugin feature
...
On most platforms calls to methods to bypass the IKE sockets and enabling
UDP decapsulation are required.
2013-06-11 11:18:17 +02:00
Tobias Brunner
c50da645b8
Merge branch 'unit-tests'
...
Adds a test runner and several test suites for libstrongswan.
Also adds an option to produce a test coverage report.
Several bugs were fixed in the process and chunk_hash() was replaced
with an improved implementation based on SipHash-2-4 (with a randomly
allocated key to prevent hash flooding attacks).
2013-06-11 11:16:30 +02:00
Tobias Brunner
bde35a6fb2
Suppress log messages during tests
2013-06-11 11:03:13 +02:00
Tobias Brunner
f2eeb54e8b
Remove explicit leak detective checks as these are now done for all tests
2013-06-11 11:03:13 +02:00
Tobias Brunner
95e9915074
Enable leak detective for all test cases
2013-06-11 11:03:13 +02:00
Tobias Brunner
2b4902973b
Added tests for bio_writer_t
2013-06-11 11:03:13 +02:00
Tobias Brunner
eeb73dec79
Ensure buffer in bio_writer_t is properly increased
...
The previous code was problematic if bufsize/increase was smaller than 8
and an u_int64_t was written when the buffer was too small. Also, for
large chunks and small bufsizes realloc() was called several times
instead of just once.
2013-06-11 11:03:13 +02:00
Tobias Brunner
b4029a4aae
Added tests for bio_reader_t
2013-06-11 11:03:13 +02:00