Andreas Steffen
7c4d4d209d
make IMC/IMV pairs independent of libcharon
2011-06-01 16:33:44 +02:00
Martin Willi
ea90042233
Provide recursive mutex' just in case the PKCS#11 library requires it
2011-06-01 12:03:44 +02:00
Andreas Steffen
7e432eff6b
renamed tls_reader|writer to bio_* and moved to libstrongswan
2011-05-31 15:46:51 +02:00
Andreas Steffen
7e82d26dd8
fixed type
2011-05-31 15:46:51 +02:00
Andreas Steffen
a6cb374136
added DBG_IMC and DBG_IMV debug options
2011-05-29 10:25:13 +02:00
Martin Willi
35c9347921
Use better packing of leak-detective memory_header to align pointers
2011-05-25 19:56:47 +02:00
Martin Willi
eb4f4551a1
Summarize leaks with identical backtraces, as we do it with memusage
2011-05-25 19:56:43 +02:00
Martin Willi
628f285778
Fix strict aliasing warning
2011-05-25 10:09:16 +02:00
Tobias Brunner
ee0fb2ab81
Keep count of remaining elements to enumerate in hashtable_t.
...
This improves performance during enumeration as not all buckets have to be
checked.
2011-05-24 19:23:45 +02:00
Tobias Brunner
8af0177189
Replaced linked_list_t usage in hashtable_t with custom list implementation.
...
With this change inserting elements into a hashtable_t object is now
nearly as fast as inserting them into a linked_list_t object, whereas
before it was up to seven times slower. Additionally, the memory
footprint of a hashtable is now significantly smaller. The lookup
performance is also nearly doubled.
2011-05-24 19:23:45 +02:00
Martin Willi
d45b242b60
Fix memwipe() of leading unaligned bytes
2011-05-24 11:49:20 +02:00
Martin Willi
513701f41b
Fix some warnings triggered by gcc 4.6 -Wunused-but-set-variable
2011-05-19 15:47:40 +02:00
Tobias Brunner
92abe2bd68
Update working thread count without allocation.
2011-05-16 18:28:03 +02:00
Tobias Brunner
21692169b9
Make sure working thread count is correctly updated
2011-05-16 15:24:16 +02:00
Martin Willi
14bf2f689d
Use CRITICAL job priority class for long running dispatcher jobs
2011-05-16 15:24:15 +02:00
Martin Willi
1c8f58adb9
Introduce a highest priority job for critical thread services
2011-05-16 15:24:15 +02:00
Martin Willi
c6089e252d
Added a callback_job constructor supporting custom priorities
2011-05-16 15:24:15 +02:00
Martin Willi
877fdcf0b8
Count number of threads active in each class, and reserve threads only if none active
2011-05-16 15:24:14 +02:00
Martin Willi
68f56418cd
Reserve threads for job priority classes based on strongswan.conf options
2011-05-16 15:24:13 +02:00
Martin Willi
2959ea6f84
Added job priority enum names
2011-05-16 15:24:13 +02:00
Martin Willi
c73d4f53f5
Processor job scheduling respects job priority classes
2011-05-16 15:24:13 +02:00
Martin Willi
f77203bbfb
Introduce priority classes for jobs
2011-05-16 15:24:12 +02:00
Martin Willi
fce3b5c3ba
Added a leak detective method to report current memory usage with backtraces
2011-05-16 15:22:21 +02:00
Martin Willi
f37e8252a3
Make leak detective public
2011-05-16 15:22:21 +02:00
Martin Willi
42e0f26e53
Migrated leak_detective to INIT/METHOD macros
2011-05-16 15:22:21 +02:00
Martin Willi
61a141d01c
Added a frame enumerator to backtrace_t
2011-05-16 15:22:21 +02:00
Martin Willi
c238e8ea86
Added an equals function to backtrace_t
2011-05-16 15:22:21 +02:00
Martin Willi
79edee7422
Migrated backtrace_t to METHOD macro
2011-05-16 15:22:21 +02:00
Tobias Brunner
0e080d9b64
Don't compile login() in openssl_rsa_private_key_t if ENGINE support is disabled in OpenSSL.
2011-05-13 13:11:11 +02:00
Tobias Brunner
38a93a3cd9
fetcher.c added to Android.mk.
2011-05-13 13:09:38 +02:00
Tobias Brunner
70f918ec1d
chunk_clear not clear_chunk.
2011-05-10 15:40:46 +02:00
Martin Willi
f7812f6492
Wipe memory after using key material (incomplete, to be continued)
2011-05-09 14:36:15 +02:00
Martin Willi
7dc48bab1b
Use memwipe() in chunk_clear()
2011-05-09 14:36:14 +02:00
Martin Willi
ed678b52e2
Added a memwipe() function to safely overwrite sensitive memory
2011-05-09 14:36:14 +02:00
Andreas Steffen
51f259a82d
id of non-registered threads defaults to 0
2011-05-06 06:22:19 +02:00
Martin Willi
e7643c92d3
Migrated scheduler_t to INIT/METHOD macros
2011-05-05 11:14:51 +02:00
Martin Willi
cda46be72a
Migrated callback_job to INIT/METHOD macros
2011-05-05 11:14:51 +02:00
Martin Willi
3316742969
Migrated processor to INIT/METHOD macros
2011-05-05 11:14:50 +02:00
Martin Willi
e35727c14d
Fix algorithm type for signers, fixes warning with gcc 4.5
2011-05-03 11:33:40 +02:00
Martin Willi
aca6434ba9
Fix a potential memleak if two threads fingerprint a credential simultaneously
2011-05-02 15:05:41 +02:00
Andreas Steffen
8af1e3606b
fixed loop error in parsing of OCSP basic responses
2011-04-26 12:32:19 +02:00
Martin Willi
5b0bcfb1fc
Revert alloc_str changes
...
This reverts commit fdead26ffe .
This reverts commit 3e2419ebe3 .
This reverts commit 17ce69b47a .
2011-04-21 13:35:31 +02:00
Martin Willi
fdead26ffe
If key not found, strdup default value, too
2011-04-21 10:57:17 +02:00
Martin Willi
3e2419ebe3
Use thread save settings alloc_str function where appropriate
2011-04-21 10:48:16 +02:00
Martin Willi
17ce69b47a
Added a thread save, allocating settings get_str variant called alloc_str
2011-04-21 10:10:26 +02:00
Martin Willi
f8b26c452a
Added proposal keywords for ESN support
2011-04-20 12:26:58 +02:00
Tobias Brunner
e0d388f2e3
Use proper return value for ietf_attr_t.compare.
2011-04-19 13:48:50 +02:00
Tobias Brunner
a5543f99e4
Added missing return in iterator_t.insert_before of linked_list_t.
2011-04-19 13:48:50 +02:00
Andreas Steffen
a30e025901
support unstructuredAddress in left|rightid
2011-04-18 23:40:31 +02:00
Martin Willi
fd3c12bf06
Accept NULL files in load_files[_section] as we do in constructor
2011-04-15 10:07:13 +02:00