summaryrefslogtreecommitdiff
path: root/source4/libcli/util/asn1.c
AgeCommit message (Collapse)AuthorFilesLines
2007-10-10r2749: add asn1_read_implicit_Integer()Stefan Metzmacher1-5/+15
metze (This used to be commit a62fbcb30f63245d9dfb48c83a5f449965bb1ca7)
2007-10-10r2671: we're getting too many errors caused by the talloc_realloc() API notAndrew Tridgell1-1/+1
taking a context (so when you pass a NULL pointer you end up with memory in a top level context). Fixed it by changing the API to take a context. The context is only used if the pointer you are reallocing is NULL. (This used to be commit 8dc23821c9f54b2f13049b5e608a0cafb81aa540)
2007-10-10r2535: Make certain, that even if we have invalid ASN.1 here, and the caller ↵Andrew Bartlett1-1/+7
does not check the return value, that we don't return uninitialised memory here. Andrew Bartlett (This used to be commit 0e081ecb9d752067b99305b3b62477c3eed9ac24)
2007-10-10r2347: merge LDAP ASN.1 fixes from trunkStefan Metzmacher1-11/+23
metze (This used to be commit 492a00d909d6f3ff8305f102551f60d91d988ccd)
2007-10-10r2173: Fix asn1 BOOLEANs. Thanks to Love Hornquist-Astrand.Volker Lendecke1-11/+2
Volker (This used to be commit 53f58c053b643c8b45d2f9394faf8cfdd5005f6d)
2007-10-10r2166: sync the asn1 stuff with trunkStefan Metzmacher1-4/+40
metze (This used to be commit 46762c9ee011e5c37f3d94a1b80ed7d679c55434)
2007-10-10r2124: merge from trunk (-r 2123):Stefan Metzmacher1-3/+3
Argl. I could never get the naming right. Having the most significant byte at the lowest memory address is big endian, at least according to the google search for 'big endian'.... Volker (This used to be commit bc4c188362901423cc900fd4bdfa4a9ed6838f2b)
2007-10-10r2122: merge from trunk (-r 2120):Stefan Metzmacher1-4/+12
Fix bug found by Love H?\195?\182rnquist ?\195?\133strand: asn1_write_Integer needs to push stuff little endian. (This used to be commit 79bee828fbb70e71ad3fbd45758bcc7775ea977b)
2007-10-10r2037: switched the asn.1 code to use tallocAndrew Tridgell1-20/+16
(This used to be commit c0862278cab106a441d1049c1da945fa11353f9f)
2007-10-10r1990: Fix breakage caused by the recent talloc changes. (Failure to processAndrew Bartlett1-2/+2
an SPNEGO login from WinXP at least). talloc_asprintf_append() lost an argument, but because TALLOC_CTX is now a void*, this was not picked up by the compiler. I've tested the login (asn1), but not the registry/gtk changes. Andrew Bartlett (This used to be commit 4294be44057124568fe1d176702056bb62ad3214)
2007-10-10r1856: - move asn1 functions to asn1.cStefan Metzmacher1-0/+24
- merge some stuff from trunk metze (This used to be commit 267edf1c0bb1ed73f1ba19148e6412b9a1c41979)
2007-10-10r1851: if we try to peek a subtag, check if the parent tag has remaining dataStefan Metzmacher1-0/+4
metze (This used to be commit 01626ed381bdc9cab3e94e80220c916bb61acf30)
2007-10-10r1771: OK Let's add tests for ldap.Simo Sorce1-2/+0
Thanks to Metze and Volker for their unvaluable support :) (This used to be commit e6a6c0737ab94d58930c0d4e1ef0bb4d99510833)
2007-10-10r1756: merge volkers ldap client lib to samba4 for simo to start with theStefan Metzmacher1-27/+133
ldap server code it's not compiled in yet... metze (This used to be commit 48939adca1332ff90f9287311c0e9ff3e2e5917a)
2007-10-10r1723: Make sure we bail out on error in reading a OID.Andrew Bartlett1-1/+1
Andrew Bartlett (This used to be commit 6da7b65851aa4932aab56d1ab0f8fc67ccb62cdf)
2007-10-10r1352: Add a 'peek' function to our ASN1 code, so we can safely perform theAndrew Bartlett1-0/+22
various switches without looking one byte past te end of the buffer. (This used to be commit 5bce188d429b4166f3d0314922ae40204de182a7)
2007-10-10r1200: Add 'gensec', our generic security layer.Andrew Bartlett1-1/+1
This layer is used for DCERPC security, as well as ntlm_auth at this time. It expect things like SASL and the CIFS layer to use it as well. The particular purpose of this layer is to introduce SPENGO, which needs generic access to the actual implementation mechanisms. Schannel, due to it's 'interesting' setup properties is in GENSEC, but is only in the RPC code. Andrew Bartlett (This used to be commit 902af49006fb8cfecaadd3cc0c10e2e542083fb1)
2007-10-10r1198: Merge the Samba 3.0 ntlm_auth, including the kerberos and SPENGO parts.Andrew Bartlett1-11/+24
I have moved the SPNEGO and Kerberos code into libcli/auth, and intend to refactor them into the same format as NTLMSSP. Andrew Bartlett (This used to be commit 58da78a7460d5d0a4abee7d7b84799c228e6bc0b)
2007-10-10r962: convert 'unsigned' and 'unsigned int' to uint_tStefan Metzmacher1-2/+2
metze (This used to be commit 57151e80eb1090281401930c8fe25b20a8cf3a38)
2007-10-10r890: convert samba4 to use [u]int8_t instead of [u]int8Stefan Metzmacher1-13/+13
metze (This used to be commit 2986c5f08c8f0c26a2ea7b6ce20aae025183109f)
2007-10-10r873: converted samba4 to use real 64 bit integers instead ofAndrew Tridgell1-6/+6
structures. This was suggested by metze recently. I checked on the build farm and all the machines we have support 64 bit ints, and support the LL suffix for 64 bit constants. I suspect some won't support strtoll() and related functions, so we will probably need replacements for those. (This used to be commit 9a9244a1c66654c12abe4379661cba83a73c4c21)
2003-08-13first public release of samba4 codeAndrew Tridgell1-0/+428
(This used to be commit b0510b5428b3461aeb9bbe3cc95f62fc73e2b97f)