Nicolas Williams
0c7b06f9ca
cf: Check cc support of -Werror=enum-conversion
2022-01-13 15:33:04 -06:00
Nicolas Williams
6ee1554f3e
Ignore enum-conversion errors
...
This is not a very good fix, though the warnings remain. Such errors
can in principle be a problem because in C there is no standard enum
sizing.
In this case we have two enums with the same elements and so the same
size, so it's clearly not a problem.
2022-01-11 17:15:59 -06:00
Nicolas Williams
490337f4f9
Make OpenSSL an hcrypto backend proper
...
This adds a new backend for libhcrypto: the OpenSSL backend.
Now libhcrypto has these backends:
- hcrypto itself (i.e., the algorithms coded in lib/hcrypto)
- Common Crypto (OS X)
- PKCS#11 (specifically for Solaris, but not Solaris-specific)
- Windows CNG (Windows)
- OpenSSL (generic)
The ./configure --with-openssl=... option no longer disables the use of
hcrypto. Instead it enables the use of OpenSSL as a (and the default)
backend in libhcrypto. The libhcrypto framework is now always used.
OpenSSL should no longer be used directly within Heimdal, except in the
OpenSSL hcrypto backend itself, and files where elliptic curve (EC)
crypto is needed.
Because libhcrypto's EC support is incomplete, we can only use OpenSSL
for EC. Currently that means separating all EC-using code so that it
does not use hcrypto, thus the libhx509/hxtool and PKINIT EC code has
been moved out of the files it used to be in.
2016-04-15 00:16:17 -05:00
Jeffrey Hutzelman
9d511ea37d
libkafs: derivation from non-DES key (rxkad-kdf)
...
Add support for the "rxkad-kdf" protocol for deriving rxkad session keys
from non-DES Kerberos session keys. This allows rxkad to be used in
realms where the KDC is unwilling or unable to issue tickets with
single-DES session keys.
2014-08-21 13:05:59 -04:00
Love Hörnquist Åstrand
7aaba443bc
add NTMakefile and windows directories
2011-07-17 12:16:59 -07:00
Love Hornquist Astrand
de0ae78c4e
Remove dlfcn implementation for AIX since nowadays AIX have dlopen()
...
Also drop license and copyright statement
2009-07-24 04:25:39 +02:00
Love Hörnquist Åstrand
4f3c4eafaa
remove krb4 support
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24493 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-01-26 01:08:49 +00:00
Love Hörnquist Åstrand
37cd218c14
New library version.
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@21446 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-07-10 12:45:36 +00:00
Love Hörnquist Åstrand
7ba2b2006c
rename des to hcrypto
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@20466 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-04-20 08:29:05 +00:00
Love Hörnquist Åstrand
0a66d3e486
use LIBADD_roken
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19985 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-01-17 18:45:03 +00:00
Love Hörnquist Åstrand
b6d9890960
update version number and remove depenency on libvers for libraries
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19974 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-01-17 17:30:31 +00:00
Love Hörnquist Åstrand
eb25d3464f
unbreak previous
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@18753 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-10-21 14:55:59 +00:00
Love Hörnquist Åstrand
752de87529
split dist and nodist sources
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@18740 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-10-21 12:01:46 +00:00
Love Hörnquist Åstrand
2e3bcf3d83
add more files
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@18647 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-10-20 07:49:11 +00:00
Love Hörnquist Åstrand
da439731df
Remove dependency on config.h, breaks IRIX build, could depend on
...
libkafs_la_OBJECTS, but that is just asking for trubble.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16412 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-12-21 12:44:50 +00:00
Love Hörnquist Åstrand
c1e831f2dd
bump version to 4:1:4
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14599 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-02-24 15:48:47 +00:00
Johan Danielsson
0624b4457e
replace INCLUDES with AM_CPPFLAGS
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14164 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-08-26 11:55:29 +00:00
Love Hörnquist Åstrand
753ef4229a
always include v4 symbols
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12505 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-07-23 09:12:38 +00:00
Johan Danielsson
05aafd38b9
work around problem with conditional += and some automakes
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12027 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-04-16 12:44:04 +00:00
Love Hörnquist Åstrand
66069deffb
(libkafs_la_LDFLAGS): update version
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12001 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-04-14 08:53:19 +00:00
Love Hörnquist Åstrand
d0ec2b6aac
(ROKEN_SRCS): drop strupr.c
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12000 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-04-14 08:49:24 +00:00
Love Hörnquist Åstrand
21d0344f65
drop in-lining strupr.c from roken, its no longer used
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@11999 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-04-14 08:39:17 +00:00
Love Hörnquist Åstrand
832e908785
add INCLUDE_krb4 when using krb4, add INCLUDE_des when using krb5,
...
add strupr.c
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@11990 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-04-11 18:01:58 +00:00
Love Hörnquist Åstrand
e35ab3c3e7
always build the libkafs library now that the kerberos 5 can stand on
...
their own
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@11841 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-03-18 04:20:08 +00:00
Johan Danielsson
c107214696
more renaming
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@11131 ec53bebd-3082-4978-b11e-865c3cabbd6b
2002-08-19 15:08:37 +00:00
Johan Danielsson
9e7beb3c8e
version number
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@11011 ec53bebd-3082-4978-b11e-865c3cabbd6b
2002-05-19 22:46:13 +00:00
Assar Westerlund
242ee8cd0c
add rokenification of strsep, update shared library version to 3:3:3
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@10783 ec53bebd-3082-4978-b11e-865c3cabbd6b
2001-11-01 22:33:40 +00:00
Assar Westerlund
5d6f2835a2
(libkafs_la_LDFLAGS): set version to 3:2:3
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@10777 ec53bebd-3082-4978-b11e-865c3cabbd6b
2001-10-27 17:52:52 +00:00
Assar Westerlund
df4823433d
add strlcpy to the roken functions
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@10770 ec53bebd-3082-4978-b11e-865c3cabbd6b
2001-10-22 15:45:15 +00:00
Assar Westerlund
097e4148d4
(ROKEN_SRCS): add strtok_r.c
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@10761 ec53bebd-3082-4978-b11e-865c3cabbd6b
2001-10-08 23:33:09 +00:00
Assar Westerlund
7edba4354d
(libkafs_la_LDFLAGS): set version to 3:1:3
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@10631 ec53bebd-3082-4978-b11e-865c3cabbd6b
2001-09-02 19:37:53 +00:00
Assar Westerlund
b14d71c2d8
handle both krb5 and krb4 cases
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@10558 ec53bebd-3082-4978-b11e-865c3cabbd6b
2001-08-26 01:49:24 +00:00
Assar Westerlund
75f606b3a1
(libkafs_la_LDFLAGS): set version to 3:0:3
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@10371 ec53bebd-3082-4978-b11e-865c3cabbd6b
2001-07-19 17:30:33 +00:00
Assar Westerlund
547c118c82
remove bogus -lroken
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@10323 ec53bebd-3082-4978-b11e-865c3cabbd6b
2001-07-12 03:06:08 +00:00
Assar Westerlund
1d368d310c
add required library dependencies
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@10319 ec53bebd-3082-4978-b11e-865c3cabbd6b
2001-07-11 22:15:25 +00:00
Assar Westerlund
70d611626e
(libkafs_la_LDFLAGS): set versoin to 2:4:2
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@10254 ec53bebd-3082-4978-b11e-865c3cabbd6b
2001-07-02 23:54:35 +00:00
Johan Danielsson
9638763873
only build resolve.c if doing renaming
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@9991 ec53bebd-3082-4978-b11e-865c3cabbd6b
2001-05-18 16:11:39 +00:00
Assar Westerlund
972fab9eeb
roken rename dns functions used in libkafs
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@9673 ec53bebd-3082-4978-b11e-865c3cabbd6b
2001-02-12 22:01:27 +00:00
Assar Westerlund
ab8673aae6
(libkafs_la_LDFLAGS): set version to 2:3:2
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@9352 ec53bebd-3082-4978-b11e-865c3cabbd6b
2000-12-11 00:44:50 +00:00
Assar Westerlund
f2e2cd7eab
(libkafs_la_LDFLAGS): bump version to 2:2:2
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@9072 ec53bebd-3082-4978-b11e-865c3cabbd6b
2000-09-19 13:10:09 +00:00
Johan Danielsson
beeeb03cef
bump version to 2:1:2
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@8824 ec53bebd-3082-4978-b11e-865c3cabbd6b
2000-07-25 10:45:02 +00:00
Assar Westerlund
9ce5f5fdb3
set version to 2:0:2
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@8098 ec53bebd-3082-4978-b11e-865c3cabbd6b
2000-04-03 00:16:15 +00:00
Assar Westerlund
297fe0534a
add kafs.3
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@7738 ec53bebd-3082-4978-b11e-865c3cabbd6b
2000-01-06 15:14:27 +00:00
Assar Westerlund
2ed2565267
set version to 1:2:1
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@7563 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-12-06 19:55:41 +00:00
Assar Westerlund
848425826f
set version to 1:1:1
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@7206 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-10-19 23:54:05 +00:00
Johan Danielsson
406b9b4fca
argh!
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@6792 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-08-12 01:12:06 +00:00
Johan Danielsson
466c008f04
ignore the comlicated aix construct if !krb4
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@6790 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-08-12 01:09:56 +00:00
Assar Westerlund
9ef01e76df
set version to 1:0:1
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@6588 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-07-26 11:36:39 +00:00
Johan Danielsson
066fd30ddc
LIBDIR is defined in config.h
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@5672 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-03-21 14:08:14 +00:00
Johan Danielsson
0f23e17f6f
fix broken checkin
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@5652 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-03-20 13:58:20 +00:00