summaryrefslogtreecommitdiffstats
path: root/src/lib
Commit message (Collapse)AuthorAgeFilesLines
...
* Add support for krb5_address table; rename KV5M_AUTH_DATA to followTheodore Tso1994-11-122-1/+7
| | | | | | the convention properly. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4655 dc483132-0cff-0310-8789-dd5450dbe970
* * Makefile.in: fix some typos for kv5m_err.etTom Yu1994-11-112-1/+6
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4654 dc483132-0cff-0310-8789-dd5450dbe970
* Set the encryption type in the keyblock information in the decryptedTheodore Tso1994-11-114-0/+17
| | | | | | | ticket/authenticator/rd_rep message to be the encryption type used to encrypt said message. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4652 dc483132-0cff-0310-8789-dd5450dbe970
* Set the keyblock's magic number and encryption type information appropriatelyTheodore Tso1994-11-092-0/+7
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4650 dc483132-0cff-0310-8789-dd5450dbe970
* Change internal calling signature to pass in the encryption block, soTheodore Tso1994-11-084-5/+22
| | | | | | | that the encryption type in the keyblock structure can be properly initialized. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4649 dc483132-0cff-0310-8789-dd5450dbe970
* Use the documented interface for calling krb5_string_to_key()Theodore Tso1994-11-082-6/+11
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4647 dc483132-0cff-0310-8789-dd5450dbe970
* Missing comma on all of the error_code lines. (Oops!)Theodore Tso1994-11-051-34/+34
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4629 dc483132-0cff-0310-8789-dd5450dbe970
* * Makefile.in: stop building f_pcbc.c, since it belongs inMark Eichin1994-11-032-2/+7
| | | | | | libdes425, but leave it here for reference. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4627 dc483132-0cff-0310-8789-dd5450dbe970
* * pcbc_encrypt.c: moved from f_pcbc.c in lib/crypto/des, andMark Eichin1994-11-033-241/+239
| | | | | | | | | | | inlined proper des.h to avoid confusion in names. * Makefile.in: add -I to CFLAGS to get f_tables.h from lib/crypto/des as well. this shouldn't have been in lib/crypto/des in the first place, and the old version here was nonportable. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4626 dc483132-0cff-0310-8789-dd5450dbe970
* Add the kv5m error tableTheodore Tso1994-11-035-3/+74
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4623 dc483132-0cff-0310-8789-dd5450dbe970
* Add WITH_CPPOPTS since we're not using CONFIG_RULES (yet)Theodore Tso1994-11-032-0/+6
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4622 dc483132-0cff-0310-8789-dd5450dbe970
* * Makefile.in (libkrb5.a): done needs a trailing semicolon if itMark Eichin1994-11-022-2/+7
| | | | | | isn't followed by a newline, as does fi, with certain shells. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4613 dc483132-0cff-0310-8789-dd5450dbe970
* Use library.stamp to determine whether or not $arcmd needs to be rerunTheodore Tso1994-11-022-1/+6
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4610 dc483132-0cff-0310-8789-dd5450dbe970
* Change the way the library is built to use the libupdate scriptTheodore Tso1994-11-013-17/+30
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4604 dc483132-0cff-0310-8789-dd5450dbe970
* Back out POSIX_FILE_LOCKS change. (Should be depending on autoconf.hTheodore Tso1994-10-314-13/+12
| | | | | | to supply this #define if necessary.) git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4601 dc483132-0cff-0310-8789-dd5450dbe970
* Remove duplicate definitions for DEFs, CC, CCOPTS and LIBSTheodore Tso1994-10-282-5/+5
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4595 dc483132-0cff-0310-8789-dd5450dbe970
* If the requested kvno is IGNORE_KVNO, fix the error return so that 0Theodore Tso1994-10-262-2/+8
| | | | | | (no error) is returned instead of KTF_NOT_FOUND. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4583 dc483132-0cff-0310-8789-dd5450dbe970
* Add verification checks to the test suiteTheodore Tso1994-10-263-11/+72
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4582 dc483132-0cff-0310-8789-dd5450dbe970
* Conversion of autoconfigury to Autoconf V2Mark Eichin1994-10-2626-30/+33
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4576 dc483132-0cff-0310-8789-dd5450dbe970
* Added missing continue so that we don't copy both the unprintableTheodore Tso1994-10-262-0/+7
| | | | | | character as well as the quoted version of it. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4573 dc483132-0cff-0310-8789-dd5450dbe970
* Add include config.h for POSIX_FILE_LOCKSTheodore Tso1994-10-241-1/+2
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4570 dc483132-0cff-0310-8789-dd5450dbe970
* If KRB4 is defined, define KRB5_KRB4_COMPAT for compat_recv.cTheodore Tso1994-10-242-0/+8
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4568 dc483132-0cff-0310-8789-dd5450dbe970
* Use the srand48/lrand48 functions if availableTheodore Tso1994-10-243-23/+40
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4563 dc483132-0cff-0310-8789-dd5450dbe970
* Don't need to define POSIX_FILE_LOCKS; just include config.h insteadTheodore Tso1994-10-242-6/+5
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4553 dc483132-0cff-0310-8789-dd5450dbe970
* Don't use LDFLAGS, but CCFLAGS since CCFLAGS is configurableTheodore Tso1994-10-192-2/+6
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4541 dc483132-0cff-0310-8789-dd5450dbe970
* Fix missing $(DESTDIR) in "make install" linesTheodore Tso1994-10-196-3/+15
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4539 dc483132-0cff-0310-8789-dd5450dbe970
* asn1_decode_k.c (asn1_decode_kdc_req_body): If the authorization fieldTheodore Tso1994-10-197-17/+66
| | | | | | | | | | | | | | | | | | is not present, fill in the authorization data fields with all zeros. Don't set kvno (that's *key* version number, not *Kerberos* version number) to 5. err2kerr.c (KRB5_KRB__ERROR2krb5_error): The e_data field wasn't being decoded when it should have been. qbuf2data.c (qbuf2krb5_data): Set magic number field to zero. tgrq2ktgrq.c (KRB5_KDC__REQ__BODY2krb5_kdc_req): Allow the service principal to be optional. ktgrq2tgrq.c (krb5_kdc_req2KRB5_KDC__REQ__BODY): ditto git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4536 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
* 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-1511-0/+29
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4517 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
* 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
* 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
* 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
* 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
* 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
* 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
* 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
* Make sure the "make check" programs are cleaned up on a "make clean"Theodore Tso1994-10-072-5/+6
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4470 dc483132-0cff-0310-8789-dd5450dbe970