Kurt Zeilenga
2bbf9804b9
Happy New Year!
2012-01-01 07:10:53 -08:00
Kurt Zeilenga
966cef8c9a
Happy New Year
2011-01-05 00:42:37 +00:00
Kurt Zeilenga
3dadeb3efe
happy belated New Year
2010-04-13 22:17:29 +00:00
Hallvard Furuseth
31d7966546
ITS#6402: Kill broken macro LBER_INVALID.
...
Also update comments about ber_tag_t vs BER identifier octets.
2009-11-30 10:36:48 +00:00
Hallvard Furuseth
48048c5348
More ITS#6353 - relent a bit: accept terminating NUL byte, which AD can send
2009-11-04 11:17:03 +00:00
Hallvard Furuseth
989bd54914
For ITS#6353: Catch embedded NULs in BerValues converted to char* strings
2009-10-28 23:00:27 +00:00
Hallvard Furuseth
332838dcb0
For ITS#6215: Export ber_skip_element() and ber_peek_element()
2009-08-12 22:14:35 +00:00
Hallvard Furuseth
4bed42ae5a
For ITS#6215: Do not expose obsolete Seqorset. Note ber_write(,,,nonzero) is gone.
2009-07-29 17:07:52 +00:00
Pierangelo Masarati
85b47ab0e7
define and use ber_strnlen() (ITS#6080); please regenerate configure and include/portable.hin
2009-04-29 11:38:31 +00:00
Kurt Zeilenga
4af9eb9715
Update copyright notices
2009-01-22 00:40:04 +00:00
Kurt Zeilenga
c890c96d13
Happy New Year (belated)
2008-01-08 00:19:56 +00:00
Howard Chu
7426ab07fc
ITS#4893 define LDAP_PF_LOCAL_SENDMSG in <ac/socket.h> if a message must
...
be sent to transmit client credentials. Buffer the message data.
2007-03-25 04:40:22 +00:00
Howard Chu
b213588f95
Add options for ber_get_stringbv() to omit NUL-terminator, to allow
...
non-destructive in-place parsing
2007-03-23 15:27:38 +00:00
Howard Chu
1255666b8b
Add DER OID decoder/encoder
2007-03-20 15:11:14 +00:00
Kurt Zeilenga
da6d9eb046
happy new year
2007-01-02 20:00:42 +00:00
Pierangelo Masarati
dfc8e7f6b8
better fix for ITS#4483
2006-04-09 22:29:42 +00:00
Kurt Zeilenga
cbc11c9233
unifdef -DLDAP_NULL_IS_NULL
2006-02-14 23:18:12 +00:00
Kurt Zeilenga
acbb5cf689
Happy new year!
2006-01-03 23:11:52 +00:00
Pierangelo Masarati
4a6f4369c0
don't malloc empty strings for matched, error
2005-11-12 18:42:03 +00:00
Pierangelo Masarati
2f877b48b1
introduce ber_bvreplace()
2005-04-21 03:40:50 +00:00
Kurt Zeilenga
dc0eacd40b
Happy New Year!
2005-01-01 20:49:32 +00:00
Luke Howard
2bd23df432
dup is a global declaration on some platforms - avoid warning when
...
compiling with maximum error reporting
2004-11-09 05:39:09 +00:00
Howard Chu
54c7e8ac08
Fix missing LBER_V declaration
2004-03-17 05:06:30 +00:00
Kurt Zeilenga
3c598e89fb
Happy new year
2004-01-01 19:15:16 +00:00
Kurt Zeilenga
51358be911
Misc cleanup
2003-12-03 01:07:06 +00:00
Kurt Zeilenga
159de0f135
Updated notices and acknowledgements
2003-11-26 07:16:36 +00:00
Kurt Zeilenga
a2f36ae2d3
Rework of berbuf allocation:
...
Moved BerElementBuffer to lber_pvt.h
Defined union by macro so it can be easily reused.
Updated client/tools/common.c.
2003-10-13 18:09:15 +00:00
Kurt Zeilenga
767cf365ea
Initial fix for berbuf alignment bug (ITS#2760)
...
Needs to be applied to other stack allocated berbufs.
2003-10-12 04:45:09 +00:00
Hallvard Furuseth
92b3366802
#include <string.h>, to get memcmp() and memset().
2003-09-29 23:31:18 +00:00
Kurt Zeilenga
99f968b597
Initial support for pre/post read controls.
...
TODO:
Fix transactional consistency
Add client response control handling
2003-09-16 18:56:04 +00:00
Hallvard Furuseth
0f29f0af96
#define *_OPT_ON &ber_pvt_opt_on. The old (void*)1 definition could be == NULL.
2003-06-06 13:50:01 +00:00
Kurt Zeilenga
21927e2c4a
move lber_*_x memory prototypes to lber_pvt.h
2003-05-31 04:22:49 +00:00
Jong Hyuk Choi
4f58efc4d1
- change in message to modlist conversion
2003-05-20 01:45:12 +00:00
Howard Chu
8e476bd5b7
Extended ber_mem functions, add context argument.
2003-04-09 13:26:22 +00:00
Kurt Zeilenga
6939c53170
Happy new year
2003-01-03 20:20:47 +00:00
Howard Chu
6a37f1ae80
Added ber_flatten2 - uses passed in struct berval, allocates copy or
...
directly re-uses existing ber buf.
2002-12-18 19:15:27 +00:00
Kurt Zeilenga
3a17376dfd
s/256/LBER_ELEMENT_SIZEOF/
...
set LBER_ELEMENT_SIZEOF to 256
maybe this should be set to N*sizeof(size_t) or something
2002-10-07 21:01:47 +00:00
Howard Chu
933f6a5fdd
For ITS#1601, add ber_init2() using given buffer in-place instead of
...
allocating a copy.
2002-02-14 13:32:40 +00:00
Pierangelo Masarati
39891e4e5b
make UTF8STringNormalize handle NUL
2002-02-13 21:25:57 +00:00
Kurt Zeilenga
7f0289a390
Move most of the new ber_*cmp routines to lber_pvt.h to keep them private,
...
rework them slightly to avoid computations which might result in underflow.
Rename them for consistency with other berval routines.
Remove some utf8 lint.
2002-01-16 18:16:15 +00:00
Pierangelo Masarati
af54eed042
added ber_[mem|case]cmp() macros for fast berval comparison; extensively used in acl and in dn_match macro at present
2002-01-16 11:36:47 +00:00
Howard Chu
ac1332cdb8
Renamed BVarray to BerVarray. Moved slapd:bvarray_{add,free} to
...
liblber:ber_bvarray_{add,free}.
2002-01-14 01:43:17 +00:00
Howard Chu
c8f7f1a198
Added doalloc flag to ber_get_stringbv
2002-01-06 05:36:27 +00:00
Kurt Zeilenga
f1afebe727
struct * are not to be const'ified
2002-01-05 18:54:04 +00:00
Pierangelo Masarati
d0261ee534
leftover ber_bvdup eliminated; rewritten ber_bvdup in terms of ber_dupbv; eliminated wrapper macro; other ber_* improvements
2002-01-05 17:49:59 +00:00
Kurt Zeilenga
c38027902a
Update copyright notices
2002-01-04 20:40:29 +00:00
Howard Chu
445a4766ea
Added ber_get_stringbv
2001-12-31 14:43:54 +00:00
Howard Chu
fbc54d47d3
Added ber_free_buf()
2001-12-31 06:01:59 +00:00
Howard Chu
327f253183
Add optional len to ber_str2bv
2001-12-26 13:45:22 +00:00
Howard Chu
733056970e
Changed ber_bvdup to ber_dupbv with destination provided
2001-12-26 11:15:28 +00:00