summaryrefslogtreecommitdiffstats
path: root/src
Commit message (Collapse)AuthorAgeFilesLines
...
* sanity checkinTom Yu1994-10-196-18/+289
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4535 dc483132-0cff-0310-8789-dd5450dbe970
* Makefile.in: "make check" depends on krb5_decode_test andTheodore Tso1994-10-195-6/+34
| | | | | | | | | | | | | | | | krb5_encode_test being up to date. ktest_equal.c: Don't segfault if one of the arguments is NULL and the other is not in array_compare. krb5_decode_test.c: Use krb5_init_ets() instead of explicitly naming the error tables to initialize. utility.c: Remove unused routine, and return EINVAL instead of ASN1_PARSE_ERROR in krb5_data_hex_parse, since the ASN1 error codes aren't defined if the ISODE routines are being used. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4534 dc483132-0cff-0310-8789-dd5450dbe970
* * krlogind.c: use HAVE_STREAMS, fix TIOCPKT_* testMark Eichin1994-10-182-4/+8
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4533 dc483132-0cff-0310-8789-dd5450dbe970
* * raw-des.c (mit_raw_des_decrypt_func): ditto.Mark Eichin1994-10-183-4/+8
| | | | | | | | (mit_raw_des_encrypt_func): ditto. * des-md5.c (mit_des_md5_decrypt_funct): cast zero_ivec. (mit_des_md5_encrypt_funct): ditto. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4532 dc483132-0cff-0310-8789-dd5450dbe970
* * des-crc.c (mit_des_crc_decrypt_func): cast key->key->contents toMark Eichin1994-10-182-2/+8
| | | | | | | krb5_pointer to satisfy sunos cc about :? argument types. (mit_des_crc_encrypt_funct): ditto. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4531 dc483132-0cff-0310-8789-dd5450dbe970
* * configure.in (HAVE_STREAMS): test for streams interface headersMark Eichin1994-10-183-4/+13
| | | | | | | in a way that fails on sunos but works on solaris. * krlogin.c: use HAVE_STREAMS. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4530 dc483132-0cff-0310-8789-dd5450dbe970
* add sort for make checkMark Eichin1994-10-182-0/+7
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4529 dc483132-0cff-0310-8789-dd5450dbe970
* Clean up the test.out fileTheodore Tso1994-10-171-0/+4
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4519 dc483132-0cff-0310-8789-dd5450dbe970
* Add ISODE_DEFSTheodore Tso1994-10-152-0/+5
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4518 dc483132-0cff-0310-8789-dd5450dbe970
* Add ISODE_DEFSTheodore Tso1994-10-1513-0/+34
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4517 dc483132-0cff-0310-8789-dd5450dbe970
* Clean up the test.out fileTheodore Tso1994-10-141-1/+2
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4516 dc483132-0cff-0310-8789-dd5450dbe970
* Fix typo in spelling of KRB5_USE_ISODETheodore Tso1994-10-142-1/+5
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4515 dc483132-0cff-0310-8789-dd5450dbe970
* Add the ISODE_DEFS ruleTheodore Tso1994-10-144-0/+10
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4514 dc483132-0cff-0310-8789-dd5450dbe970
* When scanning a database entry, read fail_auth_count into a temporaryTheodore Tso1994-10-142-2/+10
| | | | | | | integer variable, and then copy that into entry.fail_auth_count, which is a char. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4513 dc483132-0cff-0310-8789-dd5450dbe970
* Move the various flavors of cryptosystem support -- raw des, des-md5, des-crcTheodore Tso1994-10-143-0/+478
| | | | | | to the top level crypto library. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4512 dc483132-0cff-0310-8789-dd5450dbe970
* Add declaration for krb5_des_md5_cst_entryTheodore Tso1994-10-142-0/+3
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4511 dc483132-0cff-0310-8789-dd5450dbe970
* Use POSIX_FILE_LOCKS if _POSIX_VERSION is defined in unistd.hTheodore Tso1994-10-143-0/+17
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4510 dc483132-0cff-0310-8789-dd5450dbe970
* Change name of the des_crc cryptosystem from krb5_des_cst_entry toTheodore Tso1994-10-142-1/+6
| | | | | | krb5_des_crc_cst_entry. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4509 dc483132-0cff-0310-8789-dd5450dbe970
* Define PROVIDE_DES_CBC_MD5 so that we include this new cryptosystemTheodore Tso1994-10-142-0/+6
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4508 dc483132-0cff-0310-8789-dd5450dbe970
* Add support for the new cryptosystem DES/MD5Theodore Tso1994-10-143-4/+31
| | | | | | Add support for new files des-crc.c, des-md5.c, and raw-des.c git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4507 dc483132-0cff-0310-8789-dd5450dbe970
* Remove declarations of the cryptosystem specific structures toTheodore Tso1994-10-147-350/+25
| | | | | | | raw-des.c and des-crc.c in the parent directory. They're strictly speaking not DES specific. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4506 dc483132-0cff-0310-8789-dd5450dbe970
* Select the cryptosystem to be used using krb5_use_cstype() instead ofTheodore Tso1994-10-142-6/+18
| | | | | | | using a implementation specific assignment. Also, allow the encryption type to be specified using a command line option. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4505 dc483132-0cff-0310-8789-dd5450dbe970
* Don't assume that the request server's realm name is null terminated.Theodore Tso1994-10-142-3/+18
| | | | | | | Compare the request server against changepw/kerberos using krb5_principal_compare. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4504 dc483132-0cff-0310-8789-dd5450dbe970
* Cast char pointer to the expected unsigned char pointer, since that'sTheodore Tso1994-10-142-3/+9
| | | | | | what MDUpdate requires. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4503 dc483132-0cff-0310-8789-dd5450dbe970
* Remove symlinked files on make cleanTheodore Tso1994-10-142-0/+7
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4502 dc483132-0cff-0310-8789-dd5450dbe970
* No point putting RFC's in the krb5 sourcesTheodore Tso1994-10-132-2052/+0
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4501 dc483132-0cff-0310-8789-dd5450dbe970
* Add support for the MDx test driver t_mddriver. Run t_mddriver on aTheodore Tso1994-10-132-1/+20
| | | | | | "make check", to make sure we have a valid MD4 implementation. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4500 dc483132-0cff-0310-8789-dd5450dbe970
* Add support for the MDx test driver t_mddriver. Run t_mddriver on aTheodore Tso1994-10-133-3/+339
| | | | | | "make check", to make sure we have a valid MD5 implementation. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4499 dc483132-0cff-0310-8789-dd5450dbe970
* Add the UL macro to control how unsigned long constants are compiled.Theodore Tso1994-10-134-74/+100
| | | | | | | If we have an ANSI C environment, use the UL suffix to keep the compiler from warning about numbers that would overflow a signed long. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4498 dc483132-0cff-0310-8789-dd5450dbe970
* sanity checkinTom Yu1994-10-121-18/+81
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4496 dc483132-0cff-0310-8789-dd5450dbe970
* Add OBJS definition so that object files get cleaned out during aTheodore Tso1994-10-122-0/+9
| | | | | | "make clean". git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4495 dc483132-0cff-0310-8789-dd5450dbe970
* Make sure we do our feature tests using the CC options specified usingTheodore Tso1994-10-122-1/+7
| | | | | | CC_OPTS. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4494 dc483132-0cff-0310-8789-dd5450dbe970
* Run crctest on a "make check". Clean up the crctest program on aTheodore Tso1994-10-122-0/+11
| | | | | | "make clean". git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4493 dc483132-0cff-0310-8789-dd5450dbe970
* * ucb.conf: add "ranlib" for ucb, it's a common element.Mark Eichin1994-10-113-0/+8
| | | | | | | * sunpro.conf: New file. Points to Sun (not MIT) installation path for their unbundled compiler ("SUNWspro"). git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4491 dc483132-0cff-0310-8789-dd5450dbe970
* * kbuild (MAKETARGETS): default to "all check" for make, but allowMark Eichin1994-10-112-2/+8
| | | | | | override from config fragments. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4490 dc483132-0cff-0310-8789-dd5450dbe970
* Don't rm the sed and awk scripts during a make cleanTheodore Tso1994-10-114-2/+10
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4489 dc483132-0cff-0310-8789-dd5450dbe970
* If using ISODE we need to add -DKRB5_USE_ISODE to $DEFS, not KRB5_USE_ISODE!Theodore Tso1994-10-082-1/+6
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4488 dc483132-0cff-0310-8789-dd5450dbe970
* start CONFIG_OPTS with -v so we see the autoconf results tooMark Eichin1994-10-071-0/+1
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4487 dc483132-0cff-0310-8789-dd5450dbe970
* Add extra check to make sure blank lines get squeezed out. Needed forTheodore Tso1994-10-072-0/+6
| | | | | | AIX's sed, for some reason. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4486 dc483132-0cff-0310-8789-dd5450dbe970
* Add -DKRB5_USE_ISODE so that include files get included properlyTheodore Tso1994-10-072-1/+6
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4485 dc483132-0cff-0310-8789-dd5450dbe970
* Use check:: instead of check:Theodore Tso1994-10-072-1/+6
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4484 dc483132-0cff-0310-8789-dd5450dbe970
* Include unistd.h first, and don't try to include sys/types.h first.Theodore Tso1994-10-071-5/+4
| | | | | | (posix compatibility) git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4483 dc483132-0cff-0310-8789-dd5450dbe970
* Include unistd.h if it is presentTheodore Tso1994-10-073-1/+16
| | | | | | Use POSIX_FILE_LOCKS if _POSIX_VERSION is defined. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4482 dc483132-0cff-0310-8789-dd5450dbe970
* Add test for unistd.hTheodore Tso1994-10-072-1/+3
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4481 dc483132-0cff-0310-8789-dd5450dbe970
* Use POSIX_FILE_LOCKS if _POSIX_VERSION in unistd.hTheodore Tso1994-10-072-2/+16
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4480 dc483132-0cff-0310-8789-dd5450dbe970
* Explicitly destroy the test database before reloading itTheodore Tso1994-10-071-1/+2
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4479 dc483132-0cff-0310-8789-dd5450dbe970
* Don't let errors in set_dbname_help initially cause the exit status toTheodore Tso1994-10-072-0/+6
| | | | | | | be set. Commands like load_db don't need a valid database to be popened. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4478 dc483132-0cff-0310-8789-dd5450dbe970
* Add general kadmin/kdb confidence checkTheodore Tso1994-10-072-0/+32
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4477 dc483132-0cff-0310-8789-dd5450dbe970
* Add a "make check" case which runs the test programsTheodore Tso1994-10-072-0/+10
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4476 dc483132-0cff-0310-8789-dd5450dbe970
* Add an option to force destruction of the database, without asking anyTheodore Tso1994-10-072-38/+49
| | | | | | questions. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4475 dc483132-0cff-0310-8789-dd5450dbe970