Commit Graph

15815 Commits

Author SHA1 Message Date
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
Love Hörnquist Åstrand
106ab5e5cf Include <limits.h>. From David Love <fx@gnu.org>.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16575 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-01-17 15:34:39 +00:00
Johan Danielsson
b8e5d95008 unused
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16574 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-01-17 15:32:17 +00:00
Love Hörnquist Åstrand
86088e002d x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16573 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-01-16 23:02:30 +00:00
Love Hörnquist Åstrand
905a9d79b8 check that der_parse_hex_heim_integer() handles odd length numbers.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16572 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-01-16 23:02:16 +00:00
Love Hörnquist Åstrand
8018ea69c2 (der_parse_hex_heim_integer): make more resiliant to errors, handle
odd length numbers.


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16571 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-01-16 23:01:11 +00:00
Love Hörnquist Åstrand
6325518929 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16570 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-01-16 13:15:05 +00:00
Love Hörnquist Åstrand
20beaf630b (gss_delete_sec_context): if the context handle is GSS_C_NO_CONTEXT,
don't fall over.


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16569 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-01-16 13:12:29 +00:00
Love Hörnquist Åstrand
3e9fc4053a x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16568 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-01-15 20:30:49 +00:00
Love Hörnquist Åstrand
017a3400cd Move depenency on @LIB_dbopen@ to kadm-server, kerberos library
doesn't depend on db-library.


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16567 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-01-15 20:30:34 +00:00
Love Hörnquist Åstrand
2474f31fd1 (libkadm5clnt.la) doesn't depend on libhdb, remove dependency
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16566 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-01-15 20:28:41 +00:00
Love Hörnquist Åstrand
a3e9be86fc x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16565 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-01-13 15:27:12 +00:00
Love Hörnquist Åstrand
9d9dcf58a0 use #include <hcrypto/...>
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16564 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-01-13 15:26:52 +00:00
Love Hörnquist Åstrand
6358b0c902 provide a symlink so the directory hcrypto/ seems to exists
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16563 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-01-13 15:26:09 +00:00
Love Hörnquist Åstrand
d81b773e4c Don't depend on dblibrary.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16562 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-01-13 14:26:12 +00:00
Love Hörnquist Åstrand
4fc736ab5a Don't use db support unless its build into libc but we dont check for
that now, so just disable the code. This removes the dependency on
libdb for roken, and that is a good thing since it causes problem with
nss plugins that uses DB3 that also provides the same symbol, but with
a diffrent ABI. so when the application calls getpwnamn() and it
linked to roken, it craches in the nss functions.


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16561 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-01-13 14:25:32 +00:00
Love Hörnquist Åstrand
163c6cb7b5 delete crypto_headers.h, use global file instead
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16560 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-01-13 14:02:49 +00:00
Love Hörnquist Åstrand
a88ee830b5 Add RSAPrivateKey.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16559 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-01-13 13:58:00 +00:00
Love Hörnquist Åstrand
babdd69260 Add RSAPrivateKey
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16558 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-01-13 13:56:37 +00:00
Love Hörnquist Åstrand
cc7822b1f7 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16557 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-01-13 13:52:46 +00:00
Love Hörnquist Åstrand
21983e69ee libdes is renamed to hcrypto
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16556 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-01-13 13:52:38 +00:00
Love Hörnquist Åstrand
b09a705bf7 Don't clean crypto headers, they now live in hcrypto/.
Add hcrypto to SUBDIRS.


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16555 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-01-13 13:46:42 +00:00
Love Hörnquist Åstrand
309808aa0f include crypto headers from hcrypto/
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16554 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-01-13 13:45:14 +00:00
Love Hörnquist Åstrand
862811c765 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16553 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-01-13 13:43:32 +00:00
Love Hörnquist Åstrand
861f37ce34 build include/hcrypto/Makefile
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16552 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-01-13 13:34:15 +00:00
Love Hörnquist Åstrand
ee86169143 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16551 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-01-13 13:33:55 +00:00
Love Hörnquist Åstrand
61a7db8122 Expose dsa symbols
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16550 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-01-13 13:33:34 +00:00
Love Hörnquist Åstrand
5df6816433 Rename library to hcrypto and install headerfiles in hcrypto/.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16549 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-01-13 13:32:57 +00:00
Love Hörnquist Åstrand
ded2929236 Remove support for old hash names.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16548 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-01-13 09:00:15 +00:00
Love Hörnquist Åstrand
0a12680b3c x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16547 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-01-13 08:58:13 +00:00
Love Hörnquist Åstrand
2f56b72d76 Include more crypto headerfiles. Remove support for old hash names.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16546 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-01-13 08:57:55 +00:00
Love Hörnquist Åstrand
db692e67db x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16545 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-01-13 08:45:16 +00:00
Love Hörnquist Åstrand
41ce53a16e (PBE_string2key): libdes now supports PKCS12_key_gen
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16544 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-01-13 08:44:57 +00:00
Love Hörnquist Åstrand
bac884b9e6 Test for PKCS12_key_gen.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16543 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-01-13 08:42:49 +00:00
Love Hörnquist Åstrand
194f4b9da5 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16542 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-01-13 08:41:50 +00:00
Love Hörnquist Åstrand
1a95d61630 Drop HMAC_CTX_create and HMAC_CTX_destroy.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16541 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-01-13 08:41:38 +00:00
Love Hörnquist Åstrand
38dd4722c8 (ENGINE_add_conf_module): Also load DH
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16540 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-01-13 08:41:06 +00:00
Love Hörnquist Åstrand
db4f904fbb Reorder includes to avoid compile errors, provide DH_new_method().
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16539 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-01-13 08:39:22 +00:00
Love Hörnquist Åstrand
fc22d50a39 Indent.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16538 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-01-13 08:38:26 +00:00
Love Hörnquist Åstrand
33b75d6802 BN_get_negative was really named BN_is_negative, a comment confused me.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16537 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-01-13 08:37:58 +00:00
Love Hörnquist Åstrand
398bb0bf9b BN_get_negative was really named BN_is_negative, a comment confused me.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16536 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-01-13 08:27:50 +00:00
Love Hörnquist Åstrand
3117ec71da Add PKCS12_key_gen().
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16535 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-01-13 08:27:12 +00:00
Love Hörnquist Åstrand
d3eb7dcae5 Add test_cipher, test_pkcs12, add pkcs12.[ch].
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16534 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-01-13 08:26:09 +00:00
Love Hörnquist Åstrand
39e4b9eec1 Test for EVP_CIPHER.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16533 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-01-13 08:25:34 +00:00
Love Hörnquist Åstrand
849dc3cc72 Rename rc2_40_cbc internal variable to something better.
Unbreak des-ede3-cbc.


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16532 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-01-13 08:25:00 +00:00
Johan Danielsson
f906d4c919 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16531 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-01-12 16:37:42 +00:00
Johan Danielsson
52f388ba2f (pass): remove unused variable in the !OTP case
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16530 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-01-12 16:37:31 +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