Love Hornquist Astrand
c5264d42f4
drop rcsid
2009-09-07 21:24:36 -07:00
Love Hornquist Astrand
ba4909eba5
Link libroken with libcrypt since roken uses crypt() in unix_verify_password
...
Found by Guillaume Rousse
2009-08-26 15:20:51 -07:00
Anton Lundin
76afc31e9b
Try both v4 and v6 socket types
...
The libroken-getifaddrs fails to retrive the ipv6-address in
solaris-zones but it might connect over ipv6 anyway, and then the kdc
refuses to give a ticket with the cryptic message:
kinit: krb5_get_init_creds: No ENC-TS found
A saner message ends up in the kdc's logfile.
because of a ENXIO when looking for a ipv6-address on the
ipv4-interface, the whole getlifaddrs2 fails and getifaddrs2 is run
instead and it just discovers the ipv4-address.
Signed-off-by: Love Hornquist Astrand <lha@h5l.org >
2009-08-20 07:51:56 -07:00
Love Hornquist Astrand
599a7e2e50
add ct_memcmp as an exported symbol
2009-08-20 04:34:26 -07:00
Love Hornquist Astrand
5e1ceeddce
Include "roken.h" for prototypes
2009-08-19 04:04:16 -07:00
Love Hornquist Astrand
9c95cd27f9
doxygen, make constant time for real.
2009-08-18 13:10:23 +02:00
Love Hornquist Astrand
b9018774d1
basic description of roken
2009-08-18 13:06:05 +02:00
Love Hornquist Astrand
aab1f34689
add doxygen.c
2009-08-18 13:05:36 +02:00
Love Hornquist Astrand
b657b2e680
Add constant time version of memcmp
2009-08-15 13:24:52 +02:00
Love Hornquist Astrand
076f3b9b8c
Provide glue function for dirfd() for Solaris
2009-08-14 11:02:08 +02:00
Love Hornquist Astrand
f1207346f0
Fix printf argument error to errx()
2009-08-14 10:45:17 +02:00
Love Hornquist Astrand
21ff5b84a5
Fix symbols renaming for flock
2009-08-14 05:17:51 +02:00
Love Hornquist Astrand
833ac10aab
Use unsigned char instead of u_int32_t
2009-08-14 03:59:24 +02:00
Love Hornquist Astrand
57393f7b86
Add <limits.h> for INT_MAX, needed on Solaris
2009-08-14 03:05:18 +02:00
Love Hornquist Astrand
da61635b75
Quest Software, Inc. and its contributors waive all copyright claims on
...
the attached getifaddrs test code and dedicate it to the public domain.
Changed to looked to the other heimdal test apps by me
2009-08-07 20:00:09 +02:00
Love Hornquist Astrand
3ae9834b37
As part of distdir don't build vis.h for platforms that doesn't need it
2009-08-05 15:42:55 +02:00
Love Hornquist Astrand
80a62da8de
make depend on config.h, so that we can't avoid symbol renaming
2009-08-05 12:47:11 +02:00
Ted Percival
1cbb0e766d
Fix crash in rk_freeifaddrs due to freeing an invalid pointer
...
Crash occurs on Linux systems that support AF_NETLINK but do not have
getifaddrs() in libc (eg. SuSE 8.1).
Signed-off-by: Love Hornquist Astrand <lha@h5l.org >
2009-08-05 12:29:26 +02:00
Love Hornquist Astrand
abd2f29c44
Pull in roken and use ROKEN_CPP_BEGIN/ROKEN_CPP_END instead of cdecl
2009-08-04 20:19:44 +02:00
Love Hornquist Astrand
7d8d09f3c0
make compile
2009-07-30 12:56:54 +02:00
Love Hornquist Astrand
c8b05eef61
(base64_encode): bound input length to /4 of max int and positive
2009-07-30 10:36:39 +02:00
Love Hornquist Astrand
1bdf51f26f
(strpoolcollect): allow p == NULL, return the empty string (allocated)
2009-07-30 10:08:48 +02:00
Love Hornquist Astrand
0da57a49d7
Make cgetstr() not return allocated memory on failure [CID-170]
2009-07-30 10:04:44 +02:00
Love Hörnquist Åstrand
55cfca74d5
Maybe include <libutil.h>. Needed for FreeBSD.
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@25279 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-06-08 20:33:43 +00:00
Love Hörnquist Åstrand
1ab1b93b28
more const-ification
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@25210 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-05-09 14:22:53 +00:00
Love Hörnquist Åstrand
a50b14f32b
more const-ification
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@25209 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-05-09 14:22:43 +00:00
Love Hörnquist Åstrand
072bd861e9
Pull out address and compare, from Ake Holmlund, otherwise it wont work for IPv6 on Solaris10.
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@25208 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-05-09 14:22:26 +00:00
Love Hörnquist Åstrand
f4b101544a
buildfix on irix, from metze
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24967 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-03-27 15:01:23 +00:00
Love Hörnquist Åstrand
b347f67b02
use res_ for platforms w/o dns_
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24963 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-03-27 14:55:46 +00:00
Love Hörnquist Åstrand
736d3d7e03
argc not use, don't increment
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24912 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-03-22 17:22:10 +00:00
Love Hörnquist Åstrand
b7db794723
provide glue for classes too
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24896 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-03-22 17:19:26 +00:00
Love Hörnquist Åstrand
9697d2a91c
stop using Bind4 types
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24895 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-03-22 17:19:15 +00:00
Love Hörnquist Åstrand
e1a4017891
remove bind4 types
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24894 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-03-22 17:19:05 +00:00
Love Hörnquist Åstrand
2516af31b6
less unprefixed structs
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24888 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-03-22 17:18:05 +00:00
Love Hörnquist Åstrand
38fb5e3b12
prefix dns_ symbols
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24887 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-03-22 17:17:55 +00:00
Love Hörnquist Åstrand
b234c0eeba
C++ protection
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24886 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-03-22 17:17:45 +00:00
Love Hörnquist Åstrand
7220ad7930
remove compat glue, fix prototype
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24885 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-03-22 17:17:35 +00:00
Love Hörnquist Åstrand
b8fb6b35ae
dns_ symbols are no more.
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24884 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-03-22 17:17:12 +00:00
Love Hörnquist Åstrand
a61934489a
Use dns_ API when available. Om MacOS this avoids repeted lookups
...
since it uses the mDNSResponder to cache the replies.
Remove support debugging using the old res_ API.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24881 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-03-22 17:16:40 +00:00
Love Hörnquist Åstrand
7f437c326a
prefix names
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24880 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-03-22 17:16:29 +00:00
Love Hörnquist Åstrand
355a7f54e5
prefix names
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24879 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-03-22 17:16:19 +00:00
Love Hörnquist Åstrand
b52f9b6fd9
prefix names
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24878 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-03-22 17:16:06 +00:00
Love Hörnquist Åstrand
184c439426
makefile fixes from Martin von Gagern
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24801 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-02-22 23:29:17 +00:00
Love Hörnquist Åstrand
5ba6d352b7
glob/globfree is no longer used, prefixed with rk_
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24768 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-02-22 23:23:26 +00:00
Love Hörnquist Åstrand
0f1b2bf744
prefix printf symbols with rk_
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24766 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-02-17 02:51:30 +00:00
Love Hörnquist Åstrand
f7faf75f9b
rename xyzprintf symbols
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24760 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-02-17 02:50:29 +00:00
Love Hörnquist Åstrand
efed5633ca
prefix symbols with rk_, patch from Martin von Gagern
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24759 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-02-17 02:49:55 +00:00
Love Hörnquist Åstrand
5e0a77e7c1
Less includes for STREAMS, and let hope it work, Add missing realm.
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24740 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-02-16 19:11:09 +00:00
Love Hörnquist Åstrand
dd46728e9b
include streams header
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24739 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-02-16 19:10:58 +00:00
Love Hörnquist Åstrand
b872eb0c22
prefix warnerr with rk_
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24738 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-02-16 19:10:44 +00:00