Martin Willi
018543f3a8
Fix use of snprintf() in identification DN to ASCII conversion
2010-07-28 10:54:47 +02:00
Martin Willi
4172574bfb
Use the group constraint in a more generic fashion, not only for attribute certificates
2010-07-05 09:41:04 +02:00
Tobias Brunner
b2ddaf0775
Adding a remove_at method to the hash table.
...
This allows to remove key-value pairs while enumerating them.
2010-06-07 16:36:26 +02:00
Tobias Brunner
88b6f14143
Migrated hashtable_t to INIT/METHOD macros.
2010-06-07 15:53:36 +02:00
Martin Willi
40b2be16e3
Whitelist OpenSSLs ERR_put_error() in leak-detective
...
As we do not invoke ERR_get/clear_error() in all error cases, the
error codes are not removed from the error queue. But it is save
to whitelist the put function, as it uses a circular buffer that
does not grow beyond ERR_NUM_ERRORS errors (16 by default).
2010-05-20 17:37:18 +02:00
Martin Willi
091d178060
Option to skip slow addr2line resolution in leak-detective
2010-05-20 17:37:18 +02:00
Andreas Steffen
0ffedbfb46
added getprotobyname to whitelist
2010-05-02 21:13:10 +02:00
Martin Willi
f7c32feec0
Renamed clone function to avoid name clash with uclibc
2010-04-07 14:54:22 +02:00
Tobias Brunner
8b0e09103b
Adding DBG_LIB to all calls of libstrongswan's version of DBG*.
2010-04-06 12:47:40 +02:00
Tobias Brunner
fc1afcc89e
The return value of snprintf is int not size_t.
2010-03-03 17:34:06 +01:00
Tobias Brunner
fac3bfa5cd
Fixing some includes by replacing <> with "".
...
I changed only the includes needed to fix the build on Android, which has an utils.h system header file, but we should probably change all the local includes in libstrongswan to "" and relative paths.
2010-03-02 10:38:58 +01:00
Tobias Brunner
14f7091280
Moved mutex.c to a separate folder in order to cleanly wrap other threading primitives (and utils/mutex.h is now threading.h).
2009-12-23 17:00:58 +01:00
Martin Willi
2fcb2cc653
Migrated identification_t to INIT/METHOD macros
2009-12-21 15:24:08 +01:00
Martin Willi
86813bef12
Whitelist register_printf_specifier in leak detective
2009-11-17 15:51:57 +00:00
Martin Willi
324528700d
Added identification constructor using a chunk of data, guessing id type
2009-11-12 10:34:01 +01:00
Martin Willi
8aad8f6faf
Some coding style cleanups
2009-11-12 10:34:00 +01:00
Andreas Steffen
fef3b0b7fd
display printable characters in dntoa()
2009-11-04 20:17:12 +01:00
Andreas Steffen
bed19335b8
put directory path into single quotes
2009-11-04 14:34:14 +01:00
Martin Willi
3dc40325d5
Show the number of times a lock was acquired in lock profiler
2009-10-23 08:12:17 +02:00
Martin Willi
80252c8a46
Store return value of getc() in an int to correctly test it against EOF
2009-10-22 13:13:06 +02:00
Andreas Steffen
930443afff
moved attribute_manager to libstrongswan
2009-10-13 13:46:27 +02:00
Andreas Steffen
c6b2b2aae2
corrected caption
2009-10-09 00:16:33 +02:00
Andreas Steffen
4b4f8bd732
created identification_create_from_sockaddr() function
2009-10-09 00:13:28 +02:00
Martin Willi
587ebae722
Distinguish invalid free()s between corrupted magic and invalid pointer
2009-10-05 11:02:54 +02:00
Andreas Steffen
727b0f11e2
whitelist Curl_client_write
2009-09-27 23:07:21 +02:00
Martin Willi
b9b8a98f47
remove spaces within tabs (\t( )+\t)
2009-09-04 15:00:19 +02:00
Martin Willi
323f9f990f
replaces four spaces by tabs, where appropriate
2009-09-04 14:50:23 +02:00
Martin Willi
7daf5226b7
removed trailing spaces ([[:space:]]+$)
2009-09-04 13:46:09 +02:00
Martin Willi
12a230ddb4
Complain about rw(un)lock errors
2009-09-03 14:46:28 +02:00
Martin Willi
de5784452b
use time_monotonic() instead of gettimeofday() for time difference calculations
2009-08-31 15:25:03 +02:00
Martin Willi
3d5818ec38
use monotonic time source in convar->timed_wait, and in the scheduler using it
2009-08-31 15:13:48 +02:00
Martin Willi
85fd609ed6
whitelist openssl ecdsa_check function
2009-08-27 13:59:30 +02:00
Martin Willi
1ef69b01ab
removed obsolete fingerprint identification types
2009-08-26 11:23:52 +02:00
Martin Willi
3f9ec06f6f
added getnetbyname/gethostbyname2 to leak detective whitelist, used by pluto
2009-08-26 11:23:50 +02:00
Andreas Steffen
fc0ed07c1f
pruned OID tree
2009-08-18 18:24:26 +02:00
Andreas Steffen
c8b543a6fc
fixed wrong emailAddress OID introduced by revision c31687da
2009-08-18 17:52:00 +02:00
Tobias Brunner
f1777dff59
Replacing gethostbyname, gethostbyname2 and their _r variants with getaddrinfo to increase portability.
2009-08-14 16:14:32 +02:00
Tobias Brunner
3901937d14
OpenSolaris defines MUTEX_DEFAULT therefore we rename the members of the enums mutex/condvar/rwlock_type_t.
2009-08-14 13:30:59 +02:00
Martin Willi
3d2f73b92f
parse RDNs in multiple SEQUENCEs in all SETs of a DN
2009-08-03 15:24:48 +02:00
Tobias Brunner
b2117eee20
Make accept(2) and recvfrom(2) cancellation points on Mac OS X.
2009-07-30 14:06:26 +02:00
Tobias Brunner
fd0df7ec75
Corrected check for valid ASN1 types in rdn_enumerate.
...
Because of the range of u_char the comparison was always TRUE before.
2009-07-14 12:09:22 +02:00
Andreas Steffen
d44b03563a
double free caused strange side effects
2009-07-13 20:28:36 +02:00
Andreas Steffen
5c49289e27
great, I got my comma back
2009-07-12 21:08:37 +02:00
Martin Willi
2d00984d73
added missing equals() method assignment for ID_ANY identities
2009-07-07 13:42:22 +02:00
Martin Willi
0c31b9db84
centralized ID type specific method assignement in generic constructor
2009-07-06 13:15:29 +02:00
Martin Willi
bbf6a4c0ff
removed obsolete init_rdn()/get_next_rdn() functions
2009-07-06 13:15:29 +02:00
Martin Willi
8309798fae
reimplemented dnota() using RDN enumerator
2009-07-06 13:15:29 +02:00
Martin Willi
d692557298
replaced {same,match}_dn() by compare_dn(), using the RDN enumerator
2009-07-06 13:15:29 +02:00
Martin Willi
ed680e33c0
fixed memleak if RND parsing fails
2009-07-06 13:15:29 +02:00
Martin Willi
01da687f78
contains_wildcard() for DNs uses RDN enumerator
2009-07-06 13:15:28 +02:00