summaryrefslogtreecommitdiffstats
path: root/src/lib
Commit message (Collapse)AuthorAgeFilesLines
...
* Add magic number to keyblock structureTheodore Tso1994-11-192-0/+7
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4702 dc483132-0cff-0310-8789-dd5450dbe970
* Add magic numbers to keyblock structureTheodore Tso1994-11-192-0/+6
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4701 dc483132-0cff-0310-8789-dd5450dbe970
* Add magic numbers for keytab, principal, and keyblockTheodore Tso1994-11-182-0/+10
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4698 dc483132-0cff-0310-8789-dd5450dbe970
* Fix to return correct error code, instead of always returningTheodore Tso1994-11-182-1/+6
| | | | | | KRB5_CC_NOMEM. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4697 dc483132-0cff-0310-8789-dd5450dbe970
* Add new error code -- KV5M_KEYTAB_ENTRYTheodore Tso1994-11-182-1/+6
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4694 dc483132-0cff-0310-8789-dd5450dbe970
* All files:Theodore Tso1994-11-189-208/+268
| | | | | | | | | | | | | | | Changes to implement SCC format version #3, which is architecture independent, and includes the key encryption type information. scc_gennew.c (krb5_scc_generate_new): Generate new ccaches using whatever version is marked as the default. scc_read.c (krb5_scc_read_keyblock): Insert keyblock magic number and initialize etype value. Also add magic numbers for the krb5_principal, krb5_data, krb5_address, and krb5_authdata structures. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4693 dc483132-0cff-0310-8789-dd5450dbe970
* Remove unnecessary variableTheodore Tso1994-11-181-3/+1
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4692 dc483132-0cff-0310-8789-dd5450dbe970
* * Makefile.in (clean): remove $(BOGUS)Mark Eichin1994-11-182-2/+7
| | | | | | | (HDRS): use ASN1_HDRS, not ASN1_SRCS. (from epeisach) [from 0928] git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4691 dc483132-0cff-0310-8789-dd5450dbe970
* * configure.in: move WITH_CCOPTS, WITH_KRB5ROOTMark Eichin1994-11-182-2/+6
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4690 dc483132-0cff-0310-8789-dd5450dbe970
* * configure.in: move WITH_CCOPTSMark Eichin1994-11-182-2/+6
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4689 dc483132-0cff-0310-8789-dd5450dbe970
* * kdb_dbm.c (krb5_dbm_db_unlock): Use krb5_lock_file.Mark Eichin1994-11-182-58/+30
| | | | | | | | (krb5_dbm_db_lock): Same. (Changes from jtkohl@mit.edu.) the rest of [txn 497]. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4674 dc483132-0cff-0310-8789-dd5450dbe970
* asn1_decode_k.c (asn1_decode_principal_name,Theodore Tso1994-11-172-0/+33
| | | | | | | | | | | | | | | | | asn1_decode_checksum, asn1_decode_encrypted_data, asn1_decode_transited_encoding, asn1_decode_enc_kdc_rep_part, asn1_decode_ticket, asn1_decode_kdc_req, asn1_decode_kdc_req_body, asn1_decode_safe_body, asn1_decode_host_address, asn1_decode_kdc_rep, asn1_decode_authdata_elt, asn1_decode_krb_cred_info, asn1_decode_pa_data, asn1_decode_last_req_entry): Initialize magic number field in the relevant structures. asn1_decode_k.c (asn1_decode_encryption_key): Add appropriate magic number and encryption type. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4672 dc483132-0cff-0310-8789-dd5450dbe970
* Set the keyblock's magic number and ecryption type information appropriatelyTheodore Tso1994-11-172-0/+7
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4671 dc483132-0cff-0310-8789-dd5450dbe970
* Changes to implement FCC format version #3, which is architectureTheodore Tso1994-11-179-171/+235
| | | | | | independent, and includes the key encryption type information. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4668 dc483132-0cff-0310-8789-dd5450dbe970
* Set the encryption type of the session keyblock to be the type used toTheodore Tso1994-11-173-1/+12
| | | | | | encrypt the ticket. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4667 dc483132-0cff-0310-8789-dd5450dbe970
* Check to make sure the subkey exists before setting its encryption typeTheodore Tso1994-11-171-1/+2
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4666 dc483132-0cff-0310-8789-dd5450dbe970
* Add new error code --- KRB5_CC_WRITE_ERRTheodore Tso1994-11-172-0/+5
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4665 dc483132-0cff-0310-8789-dd5450dbe970
* get_in_tkt (krb5_get_in_tkt): Set the encryption type of the sessionTheodore Tso1994-11-145-0/+404
| | | | | | | | | | keyblock to be the type used to encrypt the ticket. mk_cred.c, rd_cred.c: New routines for forwarding credentials --- note that the API is still subject to change! (Moved from telnet and bsd directories) git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4659 dc483132-0cff-0310-8789-dd5450dbe970
* 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