Nicolas Williams
76c596ceb8
Complete support for --disable-afs-support
2016-08-10 19:51:11 -05: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
Jelmer Vernooij
9eb31585c0
Typo: enviroment -> environment.
2015-04-25 17:37:17 +00:00
Jelmer Vernooij
70e43e9808
Fix some typos.
2014-04-25 02:42:17 +02:00
Roland C. Dowdeswell
e8779d5d4a
Add -Wshadow and deal with the warnings.
2012-02-21 11:17:55 +00:00
Roland C. Dowdeswell
cc47c8fa7b
Turn on -Wextra -Wno-sign-compare -Wno-unused-paramter and fix issues.
...
We turn on a few extra warnings and fix the fallout that occurs
when building with --enable-developer. Note that we get different
warnings on different machines and so this will be a work in
progress. So far, we have built on NetBSD/amd64 5.99.64 (which
uses gcc 4.5.3) and Ubuntu 10.04.3 LTS (which uses gcc 4.4.3).
Notably, we fixed
1. a lot of missing structure initialisers,
2. unchecked return values for functions that glibc
marks as __attribute__((warn-unused-result)),
3. made minor modifications to slc and asn1_compile
which can generate code which generates warnings,
and
4. a few stragglers here and there.
We turned off the extended warnings for many programs in appl/ as
they are nearing the end of their useful lifetime, e.g. rsh, rcp,
popper, ftp and telnet.
Interestingly, glibc's strncmp() macro needed to be worked around
whereas the function calls did not.
We have not yet tried this on 32 bit platforms, so there will be
a few more warnings when we do.
2012-02-20 19:45:41 +00:00
Nicolas Williams
265d9ba5ca
Error/warning cleanups for clang (LLVM)
2011-11-28 14:42:06 -06:00
Love Hörnquist Åstrand
d8ae7b5a35
drop krb4
2011-08-10 09:28:16 -07:00
Love Hörnquist Åstrand
7aaba443bc
add NTMakefile and windows directories
2011-07-17 12:16:59 -07:00
Love Hornquist Astrand
0879b9831a
remove trailing whitespace
2011-05-21 11:57:31 -07:00
Thomas Klausner
db8e287e41
Use "Fl Fl" for long options.
...
Signed-off-by: Love Hornquist Astrand <lha@h5l.org >
2011-05-21 11:54:14 -07:00
Love Hornquist Astrand
c6bbdb545b
First drop of Windows build infrastructure from Secure Endpoints
2009-11-24 12:12:53 -08:00
Love Hornquist Astrand
3f3b499c39
NULL_RETURNS paranoid check [CID-66]
2009-07-30 07:50:18 +02:00
Love Hörnquist Åstrand
68b804787c
use krb5_cc_new_unique, use constants for cache types
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@25040 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-04-03 04:03:50 +00:00
Love Hörnquist Åstrand
e0229329fd
use krb5_cc_new_unique, use constants for cache types
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@25039 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-04-03 04:03:39 +00:00
Love Hörnquist Åstrand
a5e6d1338b
catch error and, while here, destroy credential caches on error
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24866 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-02-27 03:32:31 +00:00
Love Hörnquist Åstrand
10916974df
Remove unsed variable kerberos_error.
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24864 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-02-27 03:32:00 +00:00
Love Hörnquist Åstrand
3ad1d78d63
make roken not provide environ, its really something that doesnt work in a multinamespace enviroments (read mac os x)
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@23943 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-10-19 04:57:42 +00:00
Love Hörnquist Åstrand
ab68b1d64f
spelling
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@23890 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-10-13 03:00:24 +00:00
Love Hörnquist Åstrand
6937d41a02
remove trailing whitespace
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@23815 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-09-13 09:21:03 +00:00
Love Hörnquist Åstrand
e172367898
switch to utf8 encoding of all files
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@23814 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-09-13 08:53:55 +00:00
Love Hörnquist Åstrand
00a5e738b9
x
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@23365 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-07-15 11:26:00 +00:00
Love Hörnquist Åstrand
6ebd745fd7
no krb4
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@23364 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-07-15 11:25:50 +00:00
Love Hörnquist Åstrand
1e2c257600
Drop kerberos 4 support.
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@23363 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-07-15 11:25:29 +00:00
Love Hörnquist Åstrand
c9c608a574
x
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@21990 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-10-19 05:40:07 +00:00
Love Hörnquist Åstrand
35af8afeba
x
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@21989 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-10-19 05:37:07 +00:00
Love Hörnquist Åstrand
fa7b8061d9
read environment from _PATH_ETC_ENVIRONMENT
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@21988 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-10-19 05:36:54 +00:00
Love Hörnquist Åstrand
b1bac360b3
add more paths.
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@21987 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-10-19 05:36:11 +00:00
Love Hörnquist Åstrand
c6c96d8e22
Add supaths.h
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@21986 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-10-19 05:22:57 +00:00
Love Hörnquist Åstrand
cc4985b19d
PATH file.
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@21985 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-10-19 05:22:25 +00:00
Love Hörnquist Åstrand
d4fbee9a2e
x
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@21790 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-08-02 17:32:59 +00:00
Love Hörnquist Åstrand
323dfbeabf
Check all local realms when su-ing, from Magnus Holmberg.
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@21789 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-08-02 17:32:44 +00:00
Love Hörnquist Åstrand
5c4742d6d6
x
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@21180 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-06-19 15:16:56 +00:00
Love Hörnquist Åstrand
f2822370c3
If not root and not setuid, print warning.
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@21179 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-06-19 15:16:41 +00:00
Love Hörnquist Åstrand
cc4333b758
remove cvs ignore files
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@21026 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-06-09 03:09:59 +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
f0c9af9324
Add man_MANS to EXTRA_DIST
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@18304 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-10-07 14:13:30 +00:00
Love Hörnquist Åstrand
03009adb79
x
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16577 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-01-17 15:38:59 +00:00
Love Hörnquist Åstrand
3fcd74bc9b
(group_member_p): rename from group_member to avoid name pollution
...
from glibc headers.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16576 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-01-17 15:38:18 +00:00
Johan Danielsson
2699d800b9
if su:ing to root, check that user is a member of group "wheel"
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16528 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-01-12 16:25:01 +00:00
Johan Danielsson
b126bb0e5b
(verify_unix): if su:ing to root, check that user is a member of group
...
"wheel"
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16527 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-01-12 16:24:28 +00:00
Johan Danielsson
abf3126ee2
x
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16526 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-01-12 15:17:26 +00:00
Johan Danielsson
62018203ff
fix reversed logic when deciding to print tty or not
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16525 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-01-12 15:16:55 +00:00
Love Hörnquist Åstrand
36b34169c8
x
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16221 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-10-22 15:08:17 +00:00
Love Hörnquist Åstrand
4863ea9553
Check return value from asprintf instead of string != NULL since it
...
undefined behavior on Linux. From Björn Sandell
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16220 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-10-22 15:07:48 +00:00
Love Hörnquist Åstrand
8429cf6bbb
x
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15121 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-05-11 07:35:37 +00:00
Love Hörnquist Åstrand
958160a533
Include <crypt.h>.
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15120 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-05-11 07:35:04 +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
cd243c9fa1
man_MANS = su.1
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@13630 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-03-23 14:43:22 +00:00
Love Hörnquist Åstrand
10bbed032e
add manpage for su
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@13629 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-03-23 14:42:57 +00:00